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
Copy file name to clipboardExpand all lines: modules/aws/ec2/README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,7 @@ This Terraform module will produce an EC2 instance which can be accessed via ssh
37
37
| <aname="input_ami_id"></a> [ami\_id](#input\_ami\_id)| This is the id of the ami image used for the ec2 instance. |`string`| n/a | yes |
38
38
| <aname="input_associate_public_ip_address"></a> [associate\_public\_ip\_address](#input\_associate\_public\_ip\_address)| This is a boolean value indicating if a public IP address should be associated with the EC2 instance. |`bool`|`true`| no |
39
39
| <aname="input_availability_zone"></a> [availability\_zone](#input\_availability\_zone)| This is the availability zone you want the ec2 instance to be created in. |`string`| n/a | yes |
40
+
| <aname="input_custom_key_name"></a> [custom\_key\_name](#input\_custom\_key\_name)| Provide the name of an EC2 key pair to use your own key. By default the SSH key will be managed by this module. |`string`|`""`| no |
40
41
| <aname="input_ec2_instance_type"></a> [ec2\_instance\_type](#input\_ec2\_instance\_type)| This is the type of EC2 instance you want. |`string`|`"t2.micro"`| no |
41
42
| <aname="input_needs_elastic_ip"></a> [needs\_elastic\_ip](#input\_needs\_elastic\_ip)| This is a boolean value indicating whether an elastic IP should be generated and associated with the EC2 instance. |`bool`|`false`| no |
42
43
| <aname="input_owner"></a> [owner](#input\_owner)| This is used to specify the owner of the resources in this module. |`string`| n/a | yes |
@@ -52,7 +53,7 @@ This Terraform module will produce an EC2 instance which can be accessed via ssh
52
53
|------|-------------|
53
54
| <aname="output_instance_id"></a> [instance\_id](#output\_instance\_id)| This outputs the unique ID of the EC2 instance. |
54
55
| <aname="output_instance_public_ip_address"></a> [instance\_public\_ip\_address](#output\_instance\_public\_ip\_address)| This outputs the public IP associated with the EC2 instance. Note that this output will be the same as the elastic IP if `needs_elastic_ip` is set to `true`. This output is of type `string`. |
55
-
| <aname="output_private_key"></a> [private\_key](#output\_private\_key)| This outputs the private key.|
56
+
| <aname="output_private_key"></a> [private\_key](#output\_private\_key)| This outputs the self-generated private key - This will not be populated if you provide your own key|
0 commit comments