Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
zahornyak committed Sep 13, 2023
1 parent 6cd754e commit e592664
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,5 @@ module "ec2" {
| <a name="output_ec2_instance_profile"></a> [ec2\_instance\_profile](#output\_ec2\_instance\_profile) | ec2\_instance\_profile |
| <a name="output_eip_ip"></a> [eip\_ip](#output\_eip\_ip) | public ip of instance |
| <a name="output_instance_role"></a> [instance\_role](#output\_instance\_role) | ec2\_instance\_profile |
| <a name="output_private_id"></a> [private\_id](#output\_private\_id) | private ip of instance |
| <a name="output_private_ip"></a> [private\_ip](#output\_private\_ip) | private ip of instance |
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
2 changes: 1 addition & 1 deletion outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ output "eip_ip" {
description = "public ip of instance"
}

output "private_id" {
output "private_ip" {
value = try(module.ec2_instance[0].private_ip, null)
description = "private ip of instance"
}
Expand Down

0 comments on commit e592664

Please sign in to comment.