File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ locals {
2929 public_domain = local. is_sandbox_env ? var. public_sandbox_domain : var. public_domain
3030
3131 # Logic / vars for reporting
32- reporting_bucket_arn = local. is_dev_env ? data. aws_s3_bucket . source-data-bucket . arn : null
32+ reporting_bucket_arn = local. is_dev_env ? data. aws_s3_bucket . source-data-bucket [ 0 ] . arn : null
3333
3434 # Logic / vars for splunk environment
3535 splunk_environment = local. is_sandbox_env ? " ${ var . account_name } sandbox" : var. account_name
Original file line number Diff line number Diff line change @@ -17,5 +17,5 @@ resource "aws_cloudwatch_log_group" "firehose_reporting" {
1717resource "aws_cloudwatch_log_stream" "firehose_reporting" {
1818 count = var. reporting_infra_toggle ? 1 : 0
1919 name = " ${ var . prefix } -firehose-reporting"
20- log_group_name = aws_cloudwatch_log_group. firehose_reporting . name
20+ log_group_name = aws_cloudwatch_log_group. firehose_reporting [ 0 ] . name
2121}
Original file line number Diff line number Diff line change @@ -72,8 +72,8 @@ resource "aws_kinesis_firehose_delivery_stream" "reporting_stream" {
7272
7373 cloudwatch_logging_options {
7474 enabled = true
75- log_group_name = aws_cloudwatch_log_group. firehose_reporting . name
76- log_stream_name = aws_cloudwatch_log_stream. firehose_reporting . name
75+ log_group_name = aws_cloudwatch_log_group. firehose_reporting [ 0 ] . name
76+ log_stream_name = aws_cloudwatch_log_stream. firehose_reporting [ 0 ] . name
7777 }
7878 }
7979}
You can’t perform that action at this time.
0 commit comments