diff --git a/project-x-infra-live/terragrunt.hcl b/project-x-infra-live/terragrunt.hcl index abd1da7..fd1b88f 100644 --- a/project-x-infra-live/terragrunt.hcl +++ b/project-x-infra-live/terragrunt.hcl @@ -95,6 +95,27 @@ remote_state { } } +# remote_state { +# backend = "s3" +# generate = { +# path = "remote_state.backend.tf" +# if_exists = "overwrite_terragrunt" +# } +# config = { +# #--- +# # "${local.account_name}": "${get_path_from_repo_root()}" +# #--- +# bucket = "${local.state_bucket_prefix}-${local.account_id}" +# profile = "${local.profile}" +# key = "${trimprefix(replace(run_cmd("realpath", get_original_terragrunt_dir()), dirname(get_repo_root()), ""), "/")}" +# region = "${local.region}" +# dynamodb_table = "${local.state_table_name}" +# skip_bucket_root_access = true +# skip_bucket_ssencryption = true +# skip_bucket_enforced_tls = true +# } +# } + # --------------------------------------------------------------------------------------------------------------------- # GLOBAL PARAMETERS # These variables apply to all configurations in this subfolder. These are automatically merged into the child