# Foundation Layer Variables - FREE TIER OPTIMIZED # Configuration variables for the enterprise CI/CD pipeline infrastructure variable "project_name" { description = "Name of the project - used for resource naming" type = string default = "nvhi-atsila-microservice" } variable "environment" { description = "Environment name (dev, staging, prod)" type = string default = "dev" } variable "aws_region" { description = "AWS region for infrastructure deployment" type = string default = "us-east-1" } variable "vpc_cidr" { description = "CIDR block for the VPC" type = string default = "10.0.0.0/16" } variable "enable_dns_hostnames" { description = "Enable DNS hostnames in the VPC" type = bool default = true } variable "enable_dns_support" { description = "Enable DNS support in the VPC" type = bool default = true } variable "enable_nat_gateway" { description = "Enable NAT gateways for private subnets (only relevant if private subnets enabled)" type = bool default = false # Default false for free tier } variable "single_nat_gateway" { description = "Use a single NAT gateway instead of one per AZ (cost optimization)" type = bool default = true # Default true for cost optimization when NAT is enabled } variable "enable_private_subnets" { description = "Enable private subnets (requires NAT Gateway for internet access)" type = bool default = false # Set to false for free tier to avoid NAT Gateway costs } variable "enable_vpc_endpoints" { description = "Enable VPC endpoints for AWS services (costs extra)" type = bool default = false # Set to false for free tier to avoid interface endpoint costs } variable "cost_optimization_mode" { description = "Enable cost optimization features for free tier usage" type = bool default = true } variable "common_tags" { description = "Common tags to apply to all resources" type = map(string) default = { Terraform = "true" Project = "enterprise-cicd" Owner = "devops-team" CostCenter = "engineering" } }