Skip to content

Commit

Permalink
Merge pull request #18 from terraform-modules/update-splunk-templates
Browse files Browse the repository at this point in the history
update template for splunk
  • Loading branch information
badra001 committed Jul 15, 2022
2 parents e9ff6bf + bdcc444 commit f1ad6f9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
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

0 comments on commit f1ad6f9

Please sign in to comment.