From cc9ce060398065a13a44aaca779c91e64e00b577 Mon Sep 17 00:00:00 2001 From: mcgin314 Date: Tue, 17 Sep 2024 15:42:17 -0400 Subject: [PATCH] Fix profile and region vars in state config --- lab/terragrunt.hcl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lab/terragrunt.hcl b/lab/terragrunt.hcl index 4d16cc3..27d0a04 100644 --- a/lab/terragrunt.hcl +++ b/lab/terragrunt.hcl @@ -88,8 +88,8 @@ remote_state { bucket = "${local.state_bucket_prefix}-${local.account_id}" dynamodb_table = "${local.state_table_name}" key = "${trimprefix(replace(run_cmd("realpath", get_original_terragrunt_dir()), dirname(get_repo_root()), ""), "/")}/terraform.tfstate" - profile = "${local.profile}" - region = "${local.region}" + profile = "${local.aws_profile}" + region = "${local.aws_region}" skip_bucket_enforced_tls = true # use only if you need to access the S3 bucket without TLS being enforced skip_bucket_public_access_blocking = true skip_bucket_root_access = true # use only if the AWS account root user should not have access to the remote state bucket for some reason