diff --git a/CHANGELOG.md b/CHANGELOG.md index ca881e4..0272219 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -130,3 +130,8 @@ * 2.0.1 -- 2022-05-24 - update map() and list() to tf 1.x compatible things - add tf_module_name tag + +* 2.0.2 -- 2022-05-25 + - flowlogs + - change template to use account_alias + diff --git a/common/version.tf b/common/version.tf index b3c7710..e1514dc 100644 --- a/common/version.tf +++ b/common/version.tf @@ -1,5 +1,5 @@ locals { - _module_version = "2.0.1" + _module_version = "2.0.2" _module_names = { "_main_" = "aws-vpc-setup" diff --git a/flowlogs/templates/aws_kinesis_tasks.conf.tpl b/flowlogs/templates/aws_kinesis_tasks.conf.tpl index 5bc3c21..9a09268 100644 --- a/flowlogs/templates/aws_kinesis_tasks.conf.tpl +++ b/flowlogs/templates/aws_kinesis_tasks.conf.tpl @@ -1,4 +1,5 @@ -[${account_id}-flowlogs-${region}_${flowlog_name}] +[${account_alias}-flowlogs-${region}_${flowlog_name}] +# account_id = ${account_id} account = ${account_alias} format = CloudWatchLogs index = aws_vpc_flow_logs