Terraform script for creation simple infrastructure for ELB and ASG (with amzon linux servers) in AWS. Created by:
- Server will be launched in the default subnets
- Launch configuration for Amazon Linux (kernel 5.10) with nginx
- ELB
- Autoscaling group
- Region - region (by default "eu-central-1")
- Project owner - pr_owner (by default = "Ownrer_of_project")
- Name of key file - key_name (by default "ga-frank")
- File name of user data source - usr_dt_src_file (by default user_data.sh)
- List of allow ports - allow_ports (by default ["80", "443", "22"])
- Max size for ASG - maxsize (by default 2)
- Min size for ASG - minsize (by default 2)
- ELB capacity - elbcap (by default 2)
- Url wit dns-name of ELB
- Common parameters (user_id, region name, region description etc)
- Latest ami version information