We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 599295c + e3ef043 commit bca9fbaCopy full SHA for bca9fba
_example/example.tf
@@ -7,7 +7,7 @@ module "s3_bucket" {
7
source = "clouddrove/s3/aws"
8
version = "0.14.0"
9
10
- name = "clouddrove-log-bucket"
+ name = "clouddrov-12345"
11
environment = "test"
12
label_order = ["name", "environment"]
13
main.tf
@@ -64,4 +64,10 @@ resource "aws_flow_log" "vpc_flow_log" {
64
log_destination_type = "s3"
65
traffic_type = var.traffic_type
66
vpc_id = element(aws_vpc.default.*.id, count.index)
67
+ tags = merge(
68
+ module.labels.tags,
69
+ {
70
+ "Name" = format("%s-flowlog", module.labels.name)
71
+ }
72
+ )
73
}
0 commit comments