mirror of
https://github.com/farcasclaudiu/terraform-course.git
synced 2026-06-22 09:01:59 +03:00
added host
This commit is contained in:
@@ -19,6 +19,7 @@ resource "aws_instance" "example" {
|
||||
]
|
||||
}
|
||||
connection {
|
||||
host = "${self.public_ip}"
|
||||
user = "${var.INSTANCE_USERNAME}"
|
||||
private_key = "${file("${var.PATH_TO_PRIVATE_KEY}")}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user