mirror of
https://github.com/patrickbeane/terraform-aws-ec2-hardened.git
synced 2026-03-28 04:25:32 +00:00
feat: release v1.0 - hardened EC2 baseline
This commit is contained in:
20
terraform.tfvars.example
Normal file
20
terraform.tfvars.example
Normal file
@@ -0,0 +1,20 @@
|
||||
# Copy to terraform.tfvars and edit to match your environment
|
||||
|
||||
aws_region = "us-east-1"
|
||||
ami_id = "ami-0abcdef1234567890" # Ubuntu 24.04 in your region
|
||||
public_key_path = "~/.ssh/id_rsa.pub"
|
||||
|
||||
# Lock down to your trusted IP(s) or ranges
|
||||
allowed_cidr_blocks = ["198.51.100.42/32"]
|
||||
|
||||
# HTTPS-only by default (set true to allow HTTP 80)
|
||||
enable_http = false
|
||||
|
||||
# Service ports
|
||||
ssh_port = 2222
|
||||
portainer_port = 9443
|
||||
|
||||
instance_type = "t3.micro"
|
||||
|
||||
# Environment label
|
||||
env = "demo"
|
||||
Reference in New Issue
Block a user