Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Jul 15, 2022
1 parent 662738f commit 8cf2df9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion flowlogs/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
locals {
account_id = var.account_id != "" ? var.account_id : data.aws_caller_identity.current.account_id
account_environment = data.aws_arn.current.partition == "aws-us-gov" ? "gov" : "ew"
region = data.aws_region.current.name

base_tags = {
"boc:tf_module_version" = local._module_version
Expand Down Expand Up @@ -148,7 +149,7 @@ data "template_file" "splunk_flowlog" {
vars = {
account_id = local.account_id
account_alias = local.account_alias
region = data.aws_region.current.name
region = local.region
flowlog_name = aws_cloudwatch_log_group.flowlog.name
flowlog_stream_name = local.flowlog_stream_name
vpc_full_name = var.vpc_full_name
Expand Down

0 comments on commit 8cf2df9

Please sign in to comment.