/ infrastructure / variables.tf
variables.tf
1 variable "region" { 2 description = "AWS region to deploy resources" 3 type = string 4 default = "us-east-1" 5 } 6 7 variable "aws_profile" { 8 description = "AWS CLI/SDK profile to use for provider and CLI snippets" 9 type = string 10 } 11 12 variable "project_name" { 13 description = "Name of the project used for naming resources" 14 type = string 15 default = "smpte-copilot" 16 } 17 18 variable "vpc_cidr" { 19 description = "CIDR block for the VPC" 20 type = string 21 default = "10.0.0.0/16" 22 } 23 24 variable "instance_type" { 25 description = "EC2 instance type" 26 type = string 27 default = "t3.xlarge" 28 } 29 30 variable "gpu_instance_type" { 31 description = "EC2 instance type for GPU-enabled server" 32 type = string 33 default = "g6.xlarge" 34 } 35 36 variable "repo_url" { 37 description = "URL of the Git repository to clone" 38 type = string 39 default = "https://github.com/qualabs/SMPTE-Copilot" 40 } 41 42 variable "ssh_public_key" { 43 description = "Public SSH key (OpenSSH format) to install on both instances. Example: ssh-ed25519 AAAA... user@host" 44 type = string 45 } 46 47 variable "custom_domain_name" { 48 description = "Custom domain name for CloudFront distribution" 49 type = string 50 } 51 52 variable "enable_custom_domain" { 53 description = "Enable custom domain for CloudFront distribution. Set to false for first deployment, then true after DNS validation" 54 type = bool 55 }