diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 259def4..7f9f794 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,9 +9,9 @@ repos: exclude: common/*.tf exclude: version.tf exclude: examples - - id: terraform_tflint - args: [ "--args=--config=__GIT_WORKING_DIR__/.tflint.hcl"] - exclude: examples +# - id: terraform_tflint +# args: [ "--args=--config=__GIT_WORKING_DIR__/.tflint.hcl"] +# exclude: examples - repo: https://github.com/pre-commit/pre-commit-hooks rev: v3.4.0 hooks: diff --git a/CHANGELOG.md b/CHANGELOG.md index 9986d8b..1a287c4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -118,4 +118,8 @@ - vpn - fix up vpn_config_output +* 1.6.4 -- 2022-05-25 + - flowlogs + - change template to use account_alias + ## Version 2.x diff --git a/common/version.tf b/common/version.tf index e9c9d85..a85d2b4 100644 --- a/common/version.tf +++ b/common/version.tf @@ -1,3 +1,3 @@ locals { - _module_version = "1.6.3" + _module_version = "1.6.4" } diff --git a/flowlogs/templates/aws_kinesis_tasks.conf.tpl b/flowlogs/templates/aws_kinesis_tasks.conf.tpl index 5bc3c21..82da2a8 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