Skip to content

Commit

Permalink
update template for splunk
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Jul 15, 2022
1 parent df1548e commit 3da1485
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 4 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,18 @@
- vpn
- fix up vpn_config_output

* 1.6.4 -- 2022-05-25
- flowlogs
- change template to use account_alias

* 1.6.5 -- 2022-06-07
- 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.0.0 -- 2022-05-09
Expand All @@ -142,3 +154,8 @@
* 2.0.4 -- 2022-06-23
- vpn
- add file_label for naming of output vpn config

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

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 = "2.0.4"
_module_version = "2.0.5"
_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 3da1485

Please sign in to comment.