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 360fac7 commit 235442b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flowlogs/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ data "template_file" "splunk_flowlog" {

resource "null_resource" "splunk_flowlog" {
triggers = {
filename = format("aws_kinesis_tasks.%v-%v.%v.%v.conf", local.account_id, local.account_alias, local.region, locak.flowlog_stream_name)
filename = format("aws_kinesis_tasks.%v-%v.%v.%v.conf", local.account_id, local.account_alias, local.region, local.flowlog_stream_name)
directory = format("%v/setup", path.root)
}
provisioner "local-exec" {
Expand All @@ -177,5 +177,5 @@ resource "null_resource" "splunk_flowlog" {
resource "local_file" "splunk_flowlog" {
content = data.template_file.splunk_flowlog.rendered
file_permission = "0644"
filename = var.enable_sqs ? format("%v/%v", null_resource.splunk_flowlog.triggers.directory, null_resource.splunk_cloudtrail.triggers.filename) : null
filename = var.enable_sqs ? format("%v/%v", null_resource.splunk_flowlog.triggers.directory, null_resource.splunk_flowlog.triggers.filename) : null
}

0 comments on commit 235442b

Please sign in to comment.