Skip to content

Commit

Permalink
Merge pull request #20 from clouddrove/0.14
Browse files Browse the repository at this point in the history
0.14
  • Loading branch information
Sohan Yadav committed May 10, 2021
2 parents 599295c + e3ef043 commit bca9fba
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion _example/example.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module "s3_bucket" {
source = "clouddrove/s3/aws"
version = "0.14.0"

name = "clouddrove-log-bucket"
name = "clouddrov-12345"
environment = "test"
label_order = ["name", "environment"]

Expand Down
6 changes: 6 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,10 @@ resource "aws_flow_log" "vpc_flow_log" {
log_destination_type = "s3"
traffic_type = var.traffic_type
vpc_id = element(aws_vpc.default.*.id, count.index)
tags = merge(
module.labels.tags,
{
"Name" = format("%s-flowlog", module.labels.name)
}
)
}

0 comments on commit bca9fba

Please sign in to comment.