Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
locals {
create_role = var.create && var.create_role && !var.use_existing_role
aws_region = local.create_role && var.aws_region_assume_role == "" ? data.aws_region.current[0].name : var.aws_region_assume_role
aws_region = local.create_role && var.aws_region_assume_role == "" ? data.aws_region.current[0].region : var.aws_region_assume_role

enable_logging = try(var.logging_configuration["level"], "OFF") != "OFF"

Expand Down