| <aname="input_ami"></a>[ami](#input\_ami) | ID of AMI to use for the instance | `string` | `""` | no |
| <aname="input_ami"></a>[ami](#input\_ami) | ID of AMI to use for the instance | `string` | `null` | no |
| <aname="input_ami_ssm_parameter"></a>[ami\_ssm\_parameter](#input\_ami\_ssm\_parameter) | SSM parameter name for the AMI ID. For Amazon Linux AMI SSM parameters see [reference](https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-public-parameters-ami.html) | `string` | `"/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2"` | no |
| <aname="input_associate_public_ip_address"></a>[associate\_public\_ip\_address](#input\_associate\_public\_ip\_address) | Whether to associate a public IP address with an instance in a VPC | `bool` | `null` | no |
| <aname="input_availability_zone"></a>[availability\_zone](#input\_availability\_zone) | AZ to start the instance in | `string` | `null` | no |
| <aname="input_capacity_reservation_specification"></a>[capacity\_reservation\_specification](#input\_capacity\_reservation\_specification) | Describes an instance's Capacity Reservation targeting option | `any` | `{}` | no |
...
...
@@ -199,6 +206,7 @@ No modules.
| <aname="input_cpu_credits"></a>[cpu\_credits](#input\_cpu\_credits) | The credit option for CPU usage (unlimited or standard) | `string` | `null` | no |
| <aname="input_cpu_threads_per_core"></a>[cpu\_threads\_per\_core](#input\_cpu\_threads\_per\_core) | Sets the number of CPU threads per core for an instance (has no effect unless cpu\_core\_count is also set). | `number` | `null` | no |
| <aname="input_create"></a>[create](#input\_create) | Whether to create an instance | `bool` | `true` | no |
| <aname="input_create_iam_instance_profile"></a>[create\_iam\_instance\_profile](#input\_create\_iam\_instance\_profile) | Determines whether an IAM instance profile is created or to use an existing IAM instance profile | `bool` | `false` | no |
| <aname="input_create_spot_instance"></a>[create\_spot\_instance](#input\_create\_spot\_instance) | Depicts if the instance is a spot instance | `bool` | `false` | no |
| <aname="input_disable_api_stop"></a>[disable\_api\_stop](#input\_disable\_api\_stop) | If true, enables EC2 Instance Stop Protection. | `bool` | `null` | no |
| <aname="input_disable_api_termination"></a>[disable\_api\_termination](#input\_disable\_api\_termination) | If true, enables EC2 Instance Termination Protection | `bool` | `null` | no |
...
...
@@ -211,6 +219,13 @@ No modules.
| <aname="input_hibernation"></a>[hibernation](#input\_hibernation) | If true, the launched EC2 instance will support hibernation | `bool` | `null` | no |
| <aname="input_host_id"></a>[host\_id](#input\_host\_id) | ID of a dedicated host that the instance will be assigned to. Use when an instance is to be launched on a specific dedicated host | `string` | `null` | no |
| <aname="input_iam_instance_profile"></a>[iam\_instance\_profile](#input\_iam\_instance\_profile) | IAM Instance Profile to launch the instance with. Specified as the name of the Instance Profile | `string` | `null` | no |
| <aname="input_iam_role_description"></a>[iam\_role\_description](#input\_iam\_role\_description) | Description of the role | `string` | `null` | no |
| <aname="input_iam_role_name"></a>[iam\_role\_name](#input\_iam\_role\_name) | Name to use on IAM role created | `string` | `null` | no |
| <aname="input_iam_role_path"></a>[iam\_role\_path](#input\_iam\_role\_path) | IAM role path | `string` | `null` | no |
| <aname="input_iam_role_permissions_boundary"></a>[iam\_role\_permissions\_boundary](#input\_iam\_role\_permissions\_boundary) | ARN of the policy that is used to set the permissions boundary for the IAM role | `string` | `null` | no |
| <aname="input_iam_role_policies"></a>[iam\_role\_policies](#input\_iam\_role\_policies) | Policies attached to the IAM role | `map(string)` | `{}` | no |
| <aname="input_iam_role_tags"></a>[iam\_role\_tags](#input\_iam\_role\_tags) | A map of additional tags to add to the IAM role/profile created | `map(string)` | `{}` | no |
| <aname="input_iam_role_use_name_prefix"></a>[iam\_role\_use\_name\_prefix](#input\_iam\_role\_use\_name\_prefix) | Determines whether the IAM role name (`iam_role_name` or `name`) is used as a prefix | `bool` | `true` | no |
| <aname="input_instance_initiated_shutdown_behavior"></a>[instance\_initiated\_shutdown\_behavior](#input\_instance\_initiated\_shutdown\_behavior) | Shutdown behavior for the instance. Amazon defaults this to stop for EBS-backed instances and terminate for instance-store instances. Cannot be set on instance-store instance | `string` | `null` | no |
| <aname="input_instance_type"></a>[instance\_type](#input\_instance\_type) | The type of instance to start | `string` | `"t3.micro"` | no |
| <aname="input_ipv6_address_count"></a>[ipv6\_address\_count](#input\_ipv6\_address\_count) | A number of IPv6 addresses to associate with the primary network interface. Amazon EC2 chooses the IPv6 addresses from the range of your subnet | `number` | `null` | no |
...
...
@@ -251,6 +266,12 @@ No modules.
|------|-------------|
| <aname="output_arn"></a>[arn](#output\_arn) | The ARN of the instance |
| <aname="output_capacity_reservation_specification"></a>[capacity\_reservation\_specification](#output\_capacity\_reservation\_specification) | Capacity reservation specification of the instance |
| <aname="output_iam_instance_profile_arn"></a>[iam\_instance\_profile\_arn](#output\_iam\_instance\_profile\_arn) | ARN assigned by AWS to the instance profile |
| <aname="output_iam_instance_profile_id"></a>[iam\_instance\_profile\_id](#output\_iam\_instance\_profile\_id) | Instance profile's ID |
| <aname="output_iam_instance_profile_unique"></a>[iam\_instance\_profile\_unique](#output\_iam\_instance\_profile\_unique) | Stable and unique string identifying the IAM instance profile |
| <aname="output_iam_role_arn"></a>[iam\_role\_arn](#output\_iam\_role\_arn) | The Amazon Resource Name (ARN) specifying the IAM role |
| <aname="output_iam_role_name"></a>[iam\_role\_name](#output\_iam\_role\_name) | The name of the IAM role |
| <aname="output_iam_role_unique_id"></a>[iam\_role\_unique\_id](#output\_iam\_role\_unique\_id) | Stable and unique string identifying the IAM role |
| <aname="output_id"></a>[id](#output\_id) | The ID of the instance |
| <aname="output_instance_state"></a>[instance\_state](#output\_instance\_state) | The state of the instance. One of: `pending`, `running`, `shutting-down`, `terminated`, `stopping`, `stopped` |
| <aname="output_ipv6_addresses"></a>[ipv6\_addresses](#output\_ipv6\_addresses) | The IPv6 address assigned to the instance, if applicable. |
| <aname="output_ec2_complete_arn"></a>[ec2\_complete\_arn](#output\_ec2\_complete\_arn) | The ARN of the instance |
| <aname="output_ec2_complete_capacity_reservation_specification"></a>[ec2\_complete\_capacity\_reservation\_specification](#output\_ec2\_complete\_capacity\_reservation\_specification) | Capacity reservation specification of the instance |
| <aname="output_ec2_complete_iam_instance_profile_arn"></a>[ec2\_complete\_iam\_instance\_profile\_arn](#output\_ec2\_complete\_iam\_instance\_profile\_arn) | ARN assigned by AWS to the instance profile |
| <aname="output_ec2_complete_iam_instance_profile_id"></a>[ec2\_complete\_iam\_instance\_profile\_id](#output\_ec2\_complete\_iam\_instance\_profile\_id) | Instance profile's ID |
| <aname="output_ec2_complete_iam_instance_profile_unique"></a>[ec2\_complete\_iam\_instance\_profile\_unique](#output\_ec2\_complete\_iam\_instance\_profile\_unique) | Stable and unique string identifying the IAM instance profile |
| <aname="output_ec2_complete_iam_role_arn"></a>[ec2\_complete\_iam\_role\_arn](#output\_ec2\_complete\_iam\_role\_arn) | The Amazon Resource Name (ARN) specifying the IAM role |
| <aname="output_ec2_complete_iam_role_name"></a>[ec2\_complete\_iam\_role\_name](#output\_ec2\_complete\_iam\_role\_name) | The name of the IAM role |
| <aname="output_ec2_complete_iam_role_unique_id"></a>[ec2\_complete\_iam\_role\_unique\_id](#output\_ec2\_complete\_iam\_role\_unique\_id) | Stable and unique string identifying the IAM role |
| <aname="output_ec2_complete_id"></a>[ec2\_complete\_id](#output\_ec2\_complete\_id) | The ID of the instance |
| <aname="output_ec2_complete_instance_state"></a>[ec2\_complete\_instance\_state](#output\_ec2\_complete\_instance\_state) | The state of the instance. One of: `pending`, `running`, `shutting-down`, `terminated`, `stopping`, `stopped` |
| <aname="output_ec2_complete_primary_network_interface_id"></a>[ec2\_complete\_primary\_network\_interface\_id](#output\_ec2\_complete\_primary\_network\_interface\_id) | The ID of the instance's primary network interface |
description="SSM parameter name for the AMI ID. For Amazon Linux AMI SSM parameters see [reference](https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-public-parameters-ami.html)"