automated ec2 setup and build
This commit is contained in:
parent
bf8b932cdc
commit
1afbc41599
5 changed files with 103 additions and 49 deletions
|
|
@ -1,10 +1,12 @@
|
|||
# Copy to terraform.tfvars and fill in your values
|
||||
vpc_id = "vpc-0abc123def456"
|
||||
subnet_ids = ["subnet-0abc123", "subnet-0def456"] # 2+ subnets in different AZs
|
||||
db_password = "change-me-to-something-secure"
|
||||
subnet_ids = ["subnet-0abc123", "subnet-0def456"] # At least 1 subnet
|
||||
ssh_cidr = "203.0.113.50/32" # Your home IP
|
||||
repo_url = "https://github.com/youruser/everytab.git" # Public repo — enables auto clone+build
|
||||
|
||||
# Optional overrides:
|
||||
# region = "us-east-1"
|
||||
# ec2_instance_type = "c5.xlarge"
|
||||
# region = "us-east-1"
|
||||
# ec2_instance_type = "c5.2xlarge"
|
||||
# db_instance_type = "i3.large"
|
||||
# scanning = true
|
||||
# ec2_ami = "ami-XXXXXXXXXXXX" # Pin to prevent instance replacement
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue