Resource Type: gcompute_instance_group

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

Overview

Represents an Instance Group resource. Instance groups are self-managed and can contain identical or different instances. Instance groups do not use an instance template. Unlike managed instance groups, you must create and add instances to an instance group manually.

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

    A unique identifier for this instance group. (output only)

  • name (namevar)

    The name of the instance group. The name must be 1-63 characters long, and comply with RFC1035.

  • named_ports

    Assigns a name to a port number. For example: “http”, port: 80. This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example:

    “http”, port: 80,“http”, port: 8080

    Named ports apply

    to all instances in this instance group.

  • network

    A reference to Network resource

  • region

    A reference to Region resource

  • subnetwork

    A reference to Subnetwork resource

Parameters

  • credential

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

  • name

    The name of the InstanceGroup.

  • project

    A Google Cloud Platform project to manage.

  • provider

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

  • zone

    A reference to Zone resource