mirror of
https://codeberg.org/scottslowe/learning-tools.git
synced 2026-03-11 09:04:37 +00:00
Remove hard-coded variables and move to `terraform.tfvars` for better portability. Rename variables file for greater consistency across environments. Add output to display IP address of spawned EC2 instance. Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
3 lines
81 B
HCL
3 lines
81 B
HCL
output "instance_ip_address" {
|
|
value = "${aws_instance.test-01.public_ip}"
|
|
}
|