Skip to content

Commit

Permalink
terraform: enable build tag (#13841)
Browse files Browse the repository at this point in the history
(cherry picked from commit b4c79b3)

# Conflicts:
#	testing/infra/terraform/modules/tags/output.tf
  • Loading branch information
v1v authored and mergify[bot] committed Oct 2, 2024
1 parent e054090 commit bd1e502
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions testing/infra/terraform/modules/tags/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ This modules exports the default tags / labels to use on Cloud Service Providers
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| <a name="input_project"></a> [project](#input\_project) | The value to use for the project tag/label | `any` | n/a | yes |
| <a name="input_build"></a> [build](#input\_build) | The value to use for the build tag/label, normally related to the CICD executions. | `any` | `unknown` | no |

## Outputs

Expand Down
3 changes: 3 additions & 0 deletions testing/infra/terraform/modules/tags/output.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ locals {
"team" : "apm-server"
"project" : var.project
"build" : var.build
<<<<<<< HEAD
"ephemeral" : "true"
=======
>>>>>>> b4c79b3ab (terraform: enable build tag (#13841))
}
}
Expand Down
5 changes: 5 additions & 0 deletions testing/infra/terraform/modules/tags/vars.tf
Original file line number Diff line number Diff line change
@@ -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"
}

0 comments on commit bd1e502

Please sign in to comment.