Sha256: b40d5b9a0e3aaab2dc17159dfaf46a276295afda4e6ce87d2b9f03e6918ac1db

Contents?: true

Size: 580 Bytes

Versions: 104

Compression:

Stored size: 580 Bytes

Contents

resource("google_compute_instance", "default",
  name:         "${var.name}",
  machine_type: "${var.machine_type}",
  zone:         "${var.zone}",

  allow_stopping_for_update: true,

  boot_disk: {
    initialize_params: {
      image: "${var.boot_image}",
    }
  },

  network_interface: {
    network: "default",
  },

  metadata: {
    foo: "bar",
  },

  metadata_startup_script: "echo hi > /test.txt",

  scheduling: {
    preemptible:       true,
    automatic_restart: false,
  },

  service_account: {
    scopes: ["userinfo-email", "compute-ro", "storage-ro"],
  },
)

Version data entries

104 entries across 104 versions & 1 rubygems

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