Skip to content

update template for splunk #18

Merged
merged 1 commit into from
Jul 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,4 +126,8 @@
- all
- backport module name and list(), map() changes

* 1.6.6 -- 2022-07-15
- flowlogs
- update template to use account-alias and vpc name

## Version 2.x
2 changes: 1 addition & 1 deletion common/version.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
locals {
_module_version = "1.6.5"
_module_version = "1.6.6"
_module_names = {
"_main_" = "aws-vpc-setup"

Expand Down
1 change: 1 addition & 0 deletions flowlogs/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ data "template_file" "splunk_flowlog_tasks_flowlog" {
region = data.aws_region.current.name
flowlog_name = aws_cloudwatch_log_group.flowlog.name
flowlog_stream_name = local.flowlog_stream_name
vpc_full_name = var.vpc_full_name
}
}

Expand Down
5 changes: 2 additions & 3 deletions flowlogs/templates/aws_kinesis_tasks.conf.tpl
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[${account_alias}-flowlogs-${region}_${flowlog_name}]
# account_id = ${account_id}
account = ${account_alias}
[${account_id}-${account_alias}-flowlogs-${region}_${vpc_full_name}]
account = ${account_id}-${account_alias}
format = CloudWatchLogs
index = aws_vpc_flow_logs
region = ${region}
Expand Down