Skip to content

Commit 7bf4696

Browse files
authored
Added tagging for VPC Flow Logs (#407)
1 parent 3aec703 commit 7bf4696

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ It is possible to integrate this VPC module with [terraform-aws-transit-gateway
220220

221221
| Name | Version |
222222
|------|---------|
223-
| aws | ~> 2.34 |
223+
| aws | ~> 2.53 |
224224

225225
## Inputs
226226

versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ terraform {
22
required_version = "~> 0.12.6"
33

44
required_providers {
5-
aws = "~> 2.34"
5+
aws = "~> 2.53"
66
}
77
}

flow-logs.tf renamed to vpc-flow-logs.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ resource "aws_flow_log" "this" {
2121
iam_role_arn = local.flow_log_iam_role_arn
2222
traffic_type = var.flow_log_traffic_type
2323
vpc_id = local.vpc_id
24+
25+
tags = merge(var.tags, var.vpc_flow_log_tags)
2426
}
2527

2628
#####################

0 commit comments

Comments
 (0)