Skip to content

Commit

Permalink
small adaptions
Browse files Browse the repository at this point in the history
  • Loading branch information
cesarempathy committed Aug 19, 2024
1 parent e480c30 commit 5fe5586
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ locals {
enabled = module.this.enabled && !contains(var.disabled_aggregation_regions, data.aws_region.this.name)

is_central_account = var.central_resource_collector_account == data.aws_caller_identity.this.account_id
is_global_recorder_region = var.global_resource_collector_region == data.aws_region.this.name
is_global_recorder_region = var.resource_types == null ? var.global_resource_collector_region == data.aws_region.this.name : false
child_resource_collector_accounts = var.child_resource_collector_accounts != null ? var.child_resource_collector_accounts : []
enable_notifications = module.this.enabled && (var.create_sns_topic || var.findings_notification_arn != null)
create_sns_topic = module.this.enabled && var.create_sns_topic
Expand Down

0 comments on commit 5fe5586

Please sign in to comment.