diff --git a/live/stage/database/terragrunt.hcl b/live/prod/database/terragrunt.hcl similarity index 100% rename from live/stage/database/terragrunt.hcl rename to live/prod/database/terragrunt.hcl diff --git a/live/prod/env.hcl b/live/prod/env.hcl new file mode 100644 index 0000000..df96be2 --- /dev/null +++ b/live/prod/env.hcl @@ -0,0 +1,12 @@ +# Конфигурация для окружения prod +locals { + environment = "prod" + folder_id = get_env("YC_PROD_FOLDER_ID", "") + + # Общие параметры для всех компонентов в prod + common_tags = { + Environment = "prod" + Project = "terraform" + ManagedBy = "terraform" + } +} diff --git a/live/stage/namespace/terragrunt.hcl b/live/prod/namespace/terragrunt.hcl similarity index 100% rename from live/stage/namespace/terragrunt.hcl rename to live/prod/namespace/terragrunt.hcl diff --git a/live/stage/s3/terragrunt.hcl b/live/prod/s3/terragrunt.hcl similarity index 100% rename from live/stage/s3/terragrunt.hcl rename to live/prod/s3/terragrunt.hcl diff --git a/live/stage/secrets/terragrunt.hcl b/live/prod/secrets/terragrunt.hcl similarity index 100% rename from live/stage/secrets/terragrunt.hcl rename to live/prod/secrets/terragrunt.hcl diff --git a/live/stage/env.hcl b/live/stage/env.hcl deleted file mode 100644 index 324e221..0000000 --- a/live/stage/env.hcl +++ /dev/null @@ -1,12 +0,0 @@ -# Конфигурация для окружения stage -locals { - environment = "stage" - folder_id = get_env("YC_STAGE_FOLDER_ID", "") - - # Общие параметры для всех компонентов в stage - common_tags = { - Environment = "stage" - Project = "pulse" - ManagedBy = "terraform" - } -}