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/output.tf b/testing/infra/terraform/modules/tags/output.tf index 174cab81915..e9fa04d34a0 100644 --- a/testing/infra/terraform/modules/tags/output.tf +++ b/testing/infra/terraform/modules/tags/output.tf @@ -4,6 +4,7 @@ locals { "org" : "obs" "team" : "apm-server" "project" : var.project + "build" : var.build } } 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" +}