pulumi_wasm_providers_gcp_mini::compute

Module instance_from_machine_image

source
Expand description

Manages a VM instance resource within GCE. For more information see the official documentation and API.

This resource is specifically to create a compute instance from a given source_machine_image. To create an instance without a machine image, use the gcp.compute.Instance resource.

§Example Usage

resources:
  tpl:
    type: gcp:compute:InstanceFromMachineImage
    properties:
      name: instance-from-machine-image
      zone: us-central1-a
      sourceMachineImage: projects/PROJECT-ID/global/machineImages/NAME
      canIpForward: false
      labels:
        my_key: my_value

Structs§

Functions§

  • Registers a new resource with the given unique name and arguments