Fix Google Cloud Two-Tier Example (#7009)

This commit is contained in:
Christoph Blecker 2016-06-04 16:48:54 -07:00 committed by Paul Stack
parent 7346be525c
commit a1021f32e1
2 changed files with 3 additions and 3 deletions

View File

@ -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}"
]
}

View File

@ -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"