Commit e09877d7 authored by rajgandhi9's avatar rajgandhi9 Committed by GitHub

feat: Add tags to VPC flow logs IAM policy (#706)

parent afdc16e7
......@@ -90,6 +90,7 @@ resource "aws_iam_policy" "vpc_flow_log_cloudwatch" {
name_prefix = "vpc-flow-log-to-cloudwatch-"
policy = data.aws_iam_policy_document.vpc_flow_log_cloudwatch[0].json
tags = merge(var.tags, var.vpc_flow_log_tags)
}
data "aws_iam_policy_document" "vpc_flow_log_cloudwatch" {
......
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