Initial commit: Terraform infrastructure, pipelines, docs and scripts
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
# ===============================================================================================================
|
||||
# backend.tf - Configuración del backend de estado para proyectosacc
|
||||
# Descripción:
|
||||
# Configura el backend remoto de Terraform en S3 para estado compartido.
|
||||
#
|
||||
# Uso:
|
||||
# - DEV (default): terraform init
|
||||
# - PROD: terraform init -backend-config=backend.prod.hcl
|
||||
#
|
||||
# Autor: Área de Tecnología y Desarrollo - CCsoft
|
||||
# ===============================================================================================================
|
||||
|
||||
terraform {
|
||||
backend "s3" {
|
||||
bucket = "ccsoft-terraform-state"
|
||||
key = "proyectosacc/terraform.tfstate"
|
||||
region = "mx-central-1"
|
||||
encrypt = true
|
||||
dynamodb_table = "terraform-locks"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user