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.1.5 spec/fixtures/projects/ruby/google/app/modules/vm-simple/main.rb
terraspace-2.1.4 spec/fixtures/projects/ruby/google/app/modules/vm-simple/main.rb
terraspace-2.1.3 spec/fixtures/projects/ruby/google/app/modules/vm-simple/main.rb
terraspace-2.1.2 spec/fixtures/projects/ruby/google/app/modules/vm-simple/main.rb
terraspace-2.1.1 spec/fixtures/projects/ruby/google/app/modules/vm-simple/main.rb
terraspace-2.1.0 spec/fixtures/projects/ruby/google/app/modules/vm-simple/main.rb
terraspace-2.0.3 spec/fixtures/projects/ruby/google/app/modules/vm-simple/main.rb
terraspace-2.0.2 spec/fixtures/projects/ruby/google/app/modules/vm-simple/main.rb
terraspace-2.0.1 spec/fixtures/projects/ruby/google/app/modules/vm-simple/main.rb
terraspace-2.0.0 spec/fixtures/projects/ruby/google/app/modules/vm-simple/main.rb
terraspace-1.1.7 spec/fixtures/projects/ruby/google/app/modules/vm-simple/main.rb
terraspace-1.1.6 spec/fixtures/projects/ruby/google/app/modules/vm-simple/main.rb
terraspace-1.1.5 spec/fixtures/projects/ruby/google/app/modules/vm-simple/main.rb
terraspace-1.1.4 spec/fixtures/projects/ruby/google/app/modules/vm-simple/main.rb
terraspace-1.1.3 spec/fixtures/projects/ruby/google/app/modules/vm-simple/main.rb
terraspace-1.1.2 spec/fixtures/projects/ruby/google/app/modules/vm-simple/main.rb
terraspace-1.1.1 spec/fixtures/projects/ruby/google/app/modules/vm-simple/main.rb
terraspace-1.1.0 spec/fixtures/projects/ruby/google/app/modules/vm-simple/main.rb
terraspace-1.0.6 spec/fixtures/projects/ruby/google/app/modules/vm-simple/main.rb
terraspace-1.0.5 spec/fixtures/projects/ruby/google/app/modules/vm-simple/main.rb