Commit 7bf4696d authored by Ilia Lazebnik's avatar Ilia Lazebnik Committed by GitHub

Added tagging for VPC Flow Logs (#407)

parent 3aec7030
...@@ -220,7 +220,7 @@ It is possible to integrate this VPC module with [terraform-aws-transit-gateway ...@@ -220,7 +220,7 @@ It is possible to integrate this VPC module with [terraform-aws-transit-gateway
| Name | Version | | Name | Version |
|------|---------| |------|---------|
| aws | ~> 2.34 | | aws | ~> 2.53 |
## Inputs ## Inputs
......
...@@ -2,6 +2,6 @@ terraform { ...@@ -2,6 +2,6 @@ terraform {
required_version = "~> 0.12.6" required_version = "~> 0.12.6"
required_providers { required_providers {
aws = "~> 2.34" aws = "~> 2.53"
} }
} }
...@@ -21,6 +21,8 @@ resource "aws_flow_log" "this" { ...@@ -21,6 +21,8 @@ resource "aws_flow_log" "this" {
iam_role_arn = local.flow_log_iam_role_arn iam_role_arn = local.flow_log_iam_role_arn
traffic_type = var.flow_log_traffic_type traffic_type = var.flow_log_traffic_type
vpc_id = local.vpc_id vpc_id = local.vpc_id
tags = merge(var.tags, var.vpc_flow_log_tags)
} }
##################### #####################
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment