Skip to content

Commit bca9fba

Browse files
author
Sohan Yadav
authored
Merge pull request #20 from clouddrove/0.14
0.14
2 parents 599295c + e3ef043 commit bca9fba

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

_example/example.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module "s3_bucket" {
77
source = "clouddrove/s3/aws"
88
version = "0.14.0"
99

10-
name = "clouddrove-log-bucket"
10+
name = "clouddrov-12345"
1111
environment = "test"
1212
label_order = ["name", "environment"]
1313

main.tf

+6
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,10 @@ resource "aws_flow_log" "vpc_flow_log" {
6464
log_destination_type = "s3"
6565
traffic_type = var.traffic_type
6666
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+
)
6773
}

0 commit comments

Comments
 (0)