Skip to content

Commit

Permalink
Fix profile and region vars in state config
Browse files Browse the repository at this point in the history
  • Loading branch information
mcgin314 committed Sep 17, 2024
1 parent 364ff99 commit cc9ce06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lab/terragrunt.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cc9ce06

Please sign in to comment.