You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 20, 2024. It is now read-only.
| enabled | Enable or not costly resources |`bool`|`true`| no |
169
-
| image\_id | AMI of the NAT instance. Default to the latest Amazon Linux 2 |`string`|`""`| no |
170
-
| instance\_types | Candidates of spot instance type for the NAT instance. This is used in the mixed instances policy |`list`| <pre>[<br> "t3.nano",<br> "t3a.nano"<br>]</pre> | no |
171
-
| key\_name | Name of the key pair for the NAT instance. You can set this to assign the key pair to the NAT instance |`string`|`""`| no |
172
-
| name | Name for all the resources as identifier |`string`| n/a | yes |
173
-
| private\_route\_table\_ids | List of ID of the route tables for the private subnets. You can set this to assign the each default route to the NAT instance |`list`|`[]`| no |
174
-
| private\_subnets\_cidr\_blocks | List of CIDR blocks of the private subnets. The NAT instance accepts connections from this subnets |`list`| n/a | yes |
175
-
| public\_subnet | ID of the public subnet to place the NAT instance |`string`| n/a | yes |
176
-
| tags | Tags applied to resources created with this module |`map`|`{}`| no |
177
-
| use\_spot\_instance | Whether to use spot or on-demand EC2 instance |`bool`|`true`| no |
178
-
| user\_data\_runcmd | Additional runcmd section of cloud-init |`list`|`[]`| no |
179
-
| user\_data\_write\_files | Additional write\_files section of cloud-init |`list`|`[]`| no |
180
-
| vpc\_id | ID of the VPC |`string`| n/a | yes |
168
+
| <aname="input_enabled"></a> [enabled](#input\_enabled)| Enable or not costly resources |`bool`|`true`| no |
169
+
| <aname="input_image_id"></a> [image\_id](#input\_image\_id)| AMI of the NAT instance. Default to the latest Amazon Linux 2 |`string`|`""`| no |
170
+
| <aname="input_instance_types"></a> [instance\_types](#input\_instance\_types)| Candidates of spot instance type for the NAT instance. This is used in the mixed instances policy |`list(string)`| <pre>[<br> "t3.nano",<br> "t3a.nano"<br>]</pre> | no |
171
+
| <aname="input_key_name"></a> [key\_name](#input\_key\_name)| Name of the key pair for the NAT instance. You can set this to assign the key pair to the NAT instance |`string`|`""`| no |
172
+
| <aname="input_name"></a> [name](#input\_name)| Name for all the resources as identifier |`string`| n/a | yes |
173
+
| <aname="input_private_route_table_ids"></a> [private\_route\_table\_ids](#input\_private\_route\_table\_ids)| List of ID of the route tables for the private subnets. You can set this to assign the each default route to the NAT instance |`list(string)`|`[]`| no |
174
+
| <aname="input_private_subnets_cidr_blocks"></a> [private\_subnets\_cidr\_blocks](#input\_private\_subnets\_cidr\_blocks)| List of CIDR blocks of the private subnets. The NAT instance accepts connections from this subnets |`list(string)`| n/a | yes |
175
+
| <aname="input_public_subnet"></a> [public\_subnet](#input\_public\_subnet)| ID of the public subnet to place the NAT instance |`string`| n/a | yes |
176
+
| <aname="input_ssm_policy_arn"></a> [ssm\_policy\_arn](#input\_ssm\_policy\_arn)| SSM Policy to be attached to instance profile |`string`|`"arn:aws:iam::aws:policy/AmazonSSMManagedInstanceCore"`| no |
177
+
| <aname="input_tags"></a> [tags](#input\_tags)| Tags applied to resources created with this module |`map(string)`|`{}`| no |
178
+
| <aname="input_use_spot_instance"></a> [use\_spot\_instance](#input\_use\_spot\_instance)| Whether to use spot or on-demand EC2 instance |`bool`|`true`| no |
179
+
| <aname="input_user_data_runcmd"></a> [user\_data\_runcmd](#input\_user\_data\_runcmd)| Additional runcmd section of cloud-init |`list(list(string))`|`[]`| no |
180
+
| <aname="input_user_data_write_files"></a> [user\_data\_write\_files](#input\_user\_data\_write\_files)| Additional write\_files section of cloud-init |`list(any)`|`[]`| no |
181
+
| <aname="input_vpc_id"></a> [vpc\_id](#input\_vpc\_id)| ID of the VPC |`string`| n/a | yes |
181
182
182
183
## Outputs
183
184
184
185
| Name | Description |
185
186
|------|-------------|
186
-
| eni\_id | ID of the ENI for the NAT instance |
187
-
| eni\_private\_ip | Private IP of the ENI for the NAT instance |
188
-
| iam\_role\_name | Name of the IAM role for the NAT instance |
189
-
| sg\_id | ID of the security group of the NAT instance |
190
-
187
+
| <aname="output_eni_id"></a> [eni\_id](#output\_eni\_id)| ID of the ENI for the NAT instance |
188
+
| <aname="output_eni_private_ip"></a> [eni\_private\_ip](#output\_eni\_private\_ip)| Private IP of the ENI for the NAT instance |
189
+
| <aname="output_iam_role_name"></a> [iam\_role\_name](#output\_iam\_role\_name)| Name of the IAM role for the NAT instance |
190
+
| <aname="output_sg_id"></a> [sg\_id](#output\_sg\_id)| ID of the security group of the NAT instance |
0 commit comments