- terraform version 12
- aws profile
| Name | Version |
|---|---|
| aws | n/a |
| local | n/a |
| template | n/a |
| tls | n/a |
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| application_instance_type | Instance type of application instance | string |
"t2.micro" |
no |
| application_sb_cidr | Private/application subnet cidr | string |
"172.31.17.0/24" |
no |
| bastion_instance_type | Instance type of bastion instance | string |
"t2.micro" |
no |
| count_app | Number of app instances | number |
1 |
no |
| count_web | Number of web instances | number |
1 |
no |
| database_sb_cidr | Private/database subnet cidr | string |
"172.31.18.0/24" |
no |
| efs_mount_point | EFS mount point in OS | string |
"efs_path" |
no |
| key_name | SSH key pair name | string |
"ssh_key" |
no |
| management_sb_cidr | Private/management subnet cidr | string |
"172.31.19.0/24" |
no |
| my_ip | Allowed ip to access the bastion server | string |
n/a | yes |
| public_subnet_cidr | Public/web subnet cidr | string |
"172.31.16.0/24" |
no |
| retention_time | Retention time for backup | number |
5 |
no |
| s3_mount_point | S3 mount point in OS | string |
"s3_path" |
no |
| vpc_cidr_block | CIDR block for VPC | string |
"172.31.16.0/21" |
no |
| web_instance_type | Instance type of web instance | string |
"t2.micro" |
no |
| Name | Description |
|---|---|
| application_instance_private_ip | n/a |
| bastion_public_ip | n/a |
| information_to_connect_bastion | n/a |
| web_instance_public_ip | n/a |
terraform init
terraform plan
terraform apply
terraform destroy