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" {
47
47
}
48
48
49
49
module "tags" {
50
- source = " github.com/elastic/apm-server//testing/infra/terraform/ modules/tags?depth=1 "
50
+ source = " ../tf- modules/tags"
51
51
project = " lambda-extension-benchmarks"
52
52
build = var. github_workflow_id
53
53
}
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ provider "aws" {
6
6
}
7
7
8
8
module "tags" {
9
- source = " github.com/elastic/apm-server//testing/infra/terraform/ modules/tags?depth=1 "
9
+ source = " ../tf- modules/tags"
10
10
project = local. user_name
11
11
build = var. github_workflow_id
12
12
}
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