Commit f0d41138 authored by Sowmya Vagicherla's avatar Sowmya Vagicherla

adding screenshots

parent 15bbc945
No preview for this file type
......@@ -22,4 +22,18 @@ resource "google_compute_instance" "default" {
// Ephemeral public IP
}
}
provisioner "remote-exec" {
connection {
type = "ssh"
port = 22
user = "svagicherla"
host = google_compute_instance.default.network_interface[0].access_config[0].nat_ip
agent = "false"
private_key = file("/Users/svagicherla/.ssh/id_rsa")
}
inline = [
"sudo apt-get -y update",
"sudo apt-get -y install apache2",
]
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment