Sha256: cbcf756045b152bb733c68d7be7914501aedb7d531e5ae87f4cfac2d9e32a6d2

Contents?: true

Size: 640 Bytes

Versions: 104

Compression:

Stored size: 640 Bytes

Contents

resource("google_compute_instance", "default",
  name:         "vm1",
  machine_type: "f1-micro",
  zone:         "us-central1-c",
  allow_stopping_for_update: true,
  boot_disk: {
    initialize_params: {
      image: "debian-cloud/debian-9"
    }
  },
  network_interface: {
    network: "default",
    access_config: {} # Ephemeral IP
  },
  # custom metadata
  metadata: {
    foo: "bar"
  },
  metadata_startup_script: "echo hi2 > /test.txt",
  scheduling: {
    preemptible:       true,
    automatic_restart: false,
  },
  service_account: {
    scopes: ["userinfo-email", "compute-ro", "storage-ro"],
  },
  tags: ["foo", "bar"],
)

Version data entries

104 entries across 104 versions & 1 rubygems

Version Path
terraspace-2.2.17 spec/fixtures/projects/ruby/google/app/modules/vm-simple/main.rb
terraspace-2.2.16 spec/fixtures/projects/ruby/google/app/modules/vm-simple/main.rb
terraspace-2.2.15 spec/fixtures/projects/ruby/google/app/modules/vm-simple/main.rb
terraspace-2.2.14 spec/fixtures/projects/ruby/google/app/modules/vm-simple/main.rb
terraspace-2.2.13 spec/fixtures/projects/ruby/google/app/modules/vm-simple/main.rb
terraspace-2.2.12 spec/fixtures/projects/ruby/google/app/modules/vm-simple/main.rb
terraspace-2.2.11 spec/fixtures/projects/ruby/google/app/modules/vm-simple/main.rb
terraspace-2.2.10 spec/fixtures/projects/ruby/google/app/modules/vm-simple/main.rb
terraspace-2.2.9 spec/fixtures/projects/ruby/google/app/modules/vm-simple/main.rb
terraspace-2.2.8 spec/fixtures/projects/ruby/google/app/modules/vm-simple/main.rb
terraspace-2.2.7 spec/fixtures/projects/ruby/google/app/modules/vm-simple/main.rb
terraspace-2.2.6 spec/fixtures/projects/ruby/google/app/modules/vm-simple/main.rb
terraspace-2.2.5 spec/fixtures/projects/ruby/google/app/modules/vm-simple/main.rb
terraspace-2.2.4 spec/fixtures/projects/ruby/google/app/modules/vm-simple/main.rb
terraspace-2.2.3 spec/fixtures/projects/ruby/google/app/modules/vm-simple/main.rb
terraspace-2.2.2 spec/fixtures/projects/ruby/google/app/modules/vm-simple/main.rb
terraspace-2.2.1 spec/fixtures/projects/ruby/google/app/modules/vm-simple/main.rb
terraspace-2.2.0 spec/fixtures/projects/ruby/google/app/modules/vm-simple/main.rb
terraspace-2.1.7 spec/fixtures/projects/ruby/google/app/modules/vm-simple/main.rb
terraspace-2.1.6 spec/fixtures/projects/ruby/google/app/modules/vm-simple/main.rb