Name | Version |
---|---|
terraform | >= 0.13.1 |
aws | >= 4.20.0 |
Name | Version |
---|---|
aws | >= 4.20.0 |
No modules.
Name | Type |
---|---|
aws_instance.instance | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
ami | AMI to use for the instance. | string |
n/a | yes |
instance_type | Instance type to use for the instance. Updates to this field will trigger a stop/start of the EC2 instance. | string |
n/a | yes |
key_name | Key name of the Key Pair to use for the instance. | string |
n/a | yes |
name | The name to assign to the resource. | string |
n/a | yes |
region | Specify the region to for resources to be created. | string |
n/a | yes |
security_groups | List of security groups to associate with. | list(string) |
n/a | yes |
user_data | User data to provide when launching the instance. Do not pass gzip-compressed data via this argument. | string |
n/a | yes |
Name | Description |
---|---|
ip_address | The public IP address from the EC2 instance. |
tags | The Names of the EC2 instance |