From 183a008d713f9a033cdcd9580a3e78e9c6124f5e Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Thu, 3 Oct 2024 01:19:37 +0000 Subject: [PATCH] terraform: enable build tag (backport #13841) (#14240) * terraform: enable build tag (#13841) (cherry picked from commit b4c79b3ab0245090f2439b78a04dabf5b6451ae9) # Conflicts: # testing/infra/terraform/modules/tags/output.tf * Update testing/infra/terraform/modules/tags/output.tf --------- Co-authored-by: Victor Martinez Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> --- testing/infra/terraform/modules/tags/README.md | 1 + testing/infra/terraform/modules/tags/vars.tf | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/testing/infra/terraform/modules/tags/README.md b/testing/infra/terraform/modules/tags/README.md index 351720d6a7a..6b3d4d171f2 100644 --- a/testing/infra/terraform/modules/tags/README.md +++ b/testing/infra/terraform/modules/tags/README.md @@ -8,6 +8,7 @@ This modules exports the default tags / labels to use on Cloud Service Providers | Name | Description | Type | Default | Required | |------|-------------|------|---------|:--------:| | [project](#input\_project) | The value to use for the project tag/label | `any` | n/a | yes | +| [build](#input\_build) | The value to use for the build tag/label, normally related to the CICD executions. | `any` | `unknown` | no | ## Outputs diff --git a/testing/infra/terraform/modules/tags/vars.tf b/testing/infra/terraform/modules/tags/vars.tf index 72bd8a5a15a..b4ca5f35985 100644 --- a/testing/infra/terraform/modules/tags/vars.tf +++ b/testing/infra/terraform/modules/tags/vars.tf @@ -1,3 +1,8 @@ variable "project" { description = "The value to use for the project tag/label" } + +variable "build" { + description = "The value to use for the build tag/label" + default = "unknown" +}