Name | Version |
---|---|
terraform | ~> v0.15.0 |
aws | ~> 3.20.0 |
local | ~> 2.0.0 |
random | ~> 3.0.0 |
tls | ~> 3.0.0 |
Name | Version |
---|---|
aws | ~> 3.20.0 |
local | ~> 2.0.0 |
random | ~> 3.0.0 |
tls | ~> 3.0.0 |
Name | Source | Version |
---|---|---|
key_pair | terraform-aws-modules/key-pair/aws | |
vpc | terraform-aws-modules/vpc/aws | 2.64.0 |
web_service_sg | terraform-aws-modules/security-group/aws |
Name | Type |
---|---|
aws_eip.lb | resource |
aws_instance.webserver | resource |
local_file.private_key | resource |
random_pet.this | resource |
tls_private_key.this | resource |
aws_ami.amazon | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
azs | n/a | list(string) |
[ |
no |
cidr | n/a | string |
"192.168.0.0/16" |
no |
eip_vpc | n/a | bool |
true |
no |
instance_type | n/a | string |
"t3.micro" |
no |
is_enable_natgw | n/a | bool |
true |
no |
is_one_natgw_per_az | n/a | bool |
false |
no |
is_single_natgw | n/a | bool |
true |
no |
name | n/a | string |
"demo_vpc" |
no |
pri_sub | n/a | list(string) |
[ |
no |
pub_sub | n/a | list(string) |
[ |
no |
Name | Description |
---|---|
eip_attached_instance | EIP Attached Instance ID |
key_name | Ec2 Pem Key Name |
natgateway_public_ip | Nat gateway public ip |
private_cidr | Private Subnets |
public_cidr | Public Subnets |