Skip to content

Commit

Permalink
Added tagging for VPC Flow Logs (#407)
Browse files Browse the repository at this point in the history
  • Loading branch information
DrFaust92 authored Mar 13, 2020
1 parent 3aec703 commit 7bf4696
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ It is possible to integrate this VPC module with [terraform-aws-transit-gateway

| Name | Version |
|------|---------|
| aws | ~> 2.34 |
| aws | ~> 2.53 |

## Inputs

Expand Down
2 changes: 1 addition & 1 deletion versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ terraform {
required_version = "~> 0.12.6"

required_providers {
aws = "~> 2.34"
aws = "~> 2.53"
}
}
2 changes: 2 additions & 0 deletions flow-logs.tf → vpc-flow-logs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ resource "aws_flow_log" "this" {
iam_role_arn = local.flow_log_iam_role_arn
traffic_type = var.flow_log_traffic_type
vpc_id = local.vpc_id

tags = merge(var.tags, var.vpc_flow_log_tags)
}

#####################
Expand Down

0 comments on commit 7bf4696

Please sign in to comment.