Resource Type: gcompute_instance_template

Defined in:
lib/puppet/type/gcompute_instance_template.rb
Providers:
google

Overview

Defines an Instance Template resource that provides configuration settings for your virtual machine instances. Instance templates are not tied to the lifetime of an instance and can be used and reused as to deploy virtual machines. You can also use different templates to create different virtual machine configurations. Instance templates are required when you create a managed instance group. Tip: Disks should be set to autoDelete=true so that leftover disks are not left behind on machine deletion.

Properties

  • creation_timestamp

    Creation timestamp in RFC3339 text format. (output only)

  • description

    An optional description of this resource. Provide this property when you create the resource.

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent
  • id

    The unique identifier for the resource. This identifier is defined by the server. (output only)

  • name (namevar)

    Name of the resource. The name is 1-63 characters long and complies with RFC1035.

  • properties

    The instance properties for this instance template.

Parameters

  • credential

    A gauth_credential name to be used to authenticate with Google Cloud Platform.

  • name

    The name of the InstanceTemplate.

  • project

    A Google Cloud Platform project to manage.

  • provider

    The specific backend to use for this ‘gcompute_instance_template` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.