Sha256: d29cb96cd0d5f941eba022cde01ec06da1f6f2db8afd05e24535231f857e2c00
Contents?: true
Size: 942 Bytes
Versions: 9
Compression:
Stored size: 942 Bytes
Contents
provider "google" { credentials = "${file("terraform.json")}" region = "asia-northeast1" } resource "google_compute_instance" "gce-host-web" { name = "gce-host-web" machine_type = "n1-standard-1" zone = "asia-northeast1-a" disk { image = "ubuntu-1404-trusty-v20161020" } network_interface { network = "default" access_config { # Ephemeral IP } } metadata { roles = "foo,web:test" service = "gce-host" status = "reserve" tags = "standby" } } resource "google_compute_instance" "gce-host-db" { name = "gce-host-db" machine_type = "n1-standard-1" zone = "asia-northeast1-a" disk { image = "ubuntu-1404-trusty-v20161020" } network_interface { network = "default" access_config { # Ephemeral IP } } metadata { roles = "foo,db:test" service = "gce-host" status = "active" tags = "master" } }
Version data entries
9 entries across 9 versions & 1 rubygems