Fix Google Cloud Two-Tier Example (#7009)
This commit is contained in:
parent
7346be525c
commit
a1021f32e1
|
@ -36,7 +36,7 @@ resource "google_compute_instance" "www" {
|
|||
tags = ["www-node"]
|
||||
|
||||
disk {
|
||||
image = "ubuntu-os-cloud/ubuntu-1404-trusty-v20160314"
|
||||
image = "ubuntu-os-cloud/ubuntu-1404-trusty-v20160602"
|
||||
}
|
||||
|
||||
network_interface {
|
||||
|
@ -70,7 +70,7 @@ resource "google_compute_instance" "www" {
|
|||
}
|
||||
inline = [
|
||||
"chmod +x ${var.install_script_dest_path}",
|
||||
"${var.install_script_dest_path} ${count.index}"
|
||||
"sudo ${var.install_script_dest_path} ${count.index}"
|
||||
]
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
region = "us-central1"
|
||||
region_zone = "us-central1-a"
|
||||
project_name = "my-project-id-123"
|
||||
account_file_path = "~/.gcloud/Terraform.json"
|
||||
credentials_file_path = "~/.gcloud/Terraform.json"
|
||||
public_key_path = "~/.ssh/gcloud_id_rsa.pub"
|
||||
private_key_path = "~/.ssh/gcloud_id_rsa"
|
||||
|
|
Loading…
Reference in New Issue