-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update ec2 resource names inline with issue #89.
- Loading branch information
Showing
2 changed files
with
16 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
output "instance_public_ip_address" { | ||
value = aws_eip.public_elastic_ip[0].public_ip | ||
value = aws_eip.this[0].public_ip | ||
description = "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`." | ||
} | ||
|
||
output "instance_id" { | ||
value = aws_instance.ec2.id | ||
value = aws_instance.this.id | ||
description = "This outputs the unique ID of the EC2 instance." | ||
} | ||
|
||
output "private_key" { | ||
value = tls_private_key.private_key[0].private_key_pem | ||
value = tls_private_key.this[0].private_key_pem | ||
description = "This outputs the self-generated private key - This will not be populated if you provide your own key" | ||
sensitive = true | ||
} |