mirror of
https://github.com/ghndrx/terraform-foundation.git
synced 2026-02-10 06:45:06 +00:00
Enterprise-grade multi-tenant AWS cloud foundation. Modules: - GitHub OIDC for keyless CI/CD authentication - IAM account settings and security baseline - AWS Config Rules for compliance - ABAC (Attribute-Based Access Control) - SCPs (Service Control Policies) Features: - Multi-account architecture - Cost optimization patterns - Security best practices - Comprehensive documentation Tech: Terraform, AWS Organizations, IAM Identity Center
18 lines
430 B
HCL
18 lines
430 B
HCL
# Production environment configuration
|
|
locals {
|
|
environment = "prod"
|
|
aws_region = "us-east-1"
|
|
project_name = "myproject" # Update this
|
|
|
|
# Environment-specific settings
|
|
settings = {
|
|
multi_az = true
|
|
deletion_protection = true
|
|
backup_retention = 35
|
|
instance_class = "db.r6g.large"
|
|
node_type = "cache.r6g.large"
|
|
min_capacity = 2
|
|
max_capacity = 20
|
|
}
|
|
}
|