File tree Expand file tree Collapse file tree 4 files changed +32
-2
lines changed
Expand file tree Collapse file tree 4 files changed +32
-2
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ provider "aws" {
4747}
4848
4949module "tags" {
50- source = " github.com/elastic/apm-server//testing/infra/terraform/ modules/tags?depth=1 "
50+ source = " ../tf- modules/tags"
5151 project = " lambda-extension-benchmarks"
5252 build = var. github_workflow_id
5353}
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ provider "aws" {
66}
77
88module "tags" {
9- source = " github.com/elastic/apm-server//testing/infra/terraform/ modules/tags?depth=1 "
9+ source = " ../tf- modules/tags"
1010 project = local. user_name
1111 build = var. github_workflow_id
1212}
Original file line number Diff line number Diff line change 1+ locals {
2+ tags = {
3+ " division" : " engineering"
4+ " org" : " obs"
5+ " team" : " profiling"
6+ " project" : var.project
7+ " build" : var.build
8+ " ephemeral" : " true"
9+ }
10+ }
11+
12+ output "tags" {
13+ value = local. tags
14+ description = " Tags for CSP resources"
15+ }
16+
17+ output "labels" {
18+ value = local. tags
19+ description = " Labels for CSP resources"
20+ }
Original file line number Diff line number Diff line change 1+ variable "project" {
2+ description = " The value to use for the project tag/label"
3+ type = string
4+ }
5+
6+ variable "build" {
7+ description = " The value to use for the build tag/label"
8+ type = string
9+ default = " unknown"
10+ }
You can’t perform that action at this time.
0 commit comments