diff --git a/live/terragrunt.hcl b/live/terragrunt.hcl index 305edea..fe9ee37 100644 --- a/live/terragrunt.hcl +++ b/live/terragrunt.hcl @@ -6,7 +6,7 @@ remote_state { } config = { endpoint = "https://storage.yandexcloud.net" - bucket = "tfstate-terragrunt-stage" + bucket = get_env("S3_PROD_STATE_BUCKET", "tfstate-terragrunt-prod") key = "${path_relative_to_include()}/terraform.tfstate" region = "ru-central1" access_key = get_env("S3_ACCESS_KEY", get_env("AWS_ACCESS_KEY_ID", ""))