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