Add complete SACC v4 infrastructure project
- Terraform modules: VPC, EC2, RDS, S3, CloudFront, Route53, Lambda, IAM, Security Groups - Ansible playbooks for server configuration - Scripts: create-test-environment.sh, destroy-test-environment.sh, validate-environment.sh - Documentation: README, QUICKSTART, AGENTS - Jenkins pipeline for automated deployment - Jenkins pipeline for environment destruction
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
# Variables de entorno para PRODUCCION
|
||||
# ====================================
|
||||
# Archivo: environments/prod/terraform.tfvars
|
||||
|
||||
environment = "prod"
|
||||
aws_region = "mx-central-1"
|
||||
|
||||
# VPC - Igual a produccion actual
|
||||
vpc_cidr = "10.2.0.0/16"
|
||||
availability_zones = ["mx-central-1a", "mx-central-1b"]
|
||||
|
||||
# EC2
|
||||
ami_id = "ami-0f553e2869648134e" # Ubuntu 22.04 LTS
|
||||
instance_type = "t3.small"
|
||||
key_name = "sacc4-prod-key"
|
||||
|
||||
# IP restringida (solo VPN u oficina)
|
||||
my_ip = "TU_IP_O_VPN_AQUI/32"
|
||||
|
||||
# RDS
|
||||
db_name = "sacc4_prod"
|
||||
db_username = "sacc4_admin"
|
||||
db_password = "PasswordSeguraProduccion123!"
|
||||
rds_instance_class = "db.t3.micro"
|
||||
rds_allocated_storage = 20
|
||||
|
||||
# S3 / CloudFront / Route53
|
||||
s3_bucket_name = "sacc4-frontend-prod-ccsoft"
|
||||
domain_name = "prod-sacc.ccsoft.mx"
|
||||
|
||||
# Certificado SSL (ARN real de ACM)
|
||||
certificate_arn = "arn:aws:acm:mx-central-1:523761210517:certificate/EXISTENTE"
|
||||
Reference in New Issue
Block a user