RegionPerInstanceConfig

A config defined for a single managed instance that belongs to an instance group manager. It preserves the instance name across instance group manager operations and can define stateful disks or metadata that are unique to the instance. This resource works with regional instance group managers. To get more information about RegionPerInstanceConfig, see:

Example Usage

{{% /examples %}}

Import

RegionPerInstanceConfig can be imported using any of these accepted formats

$ pulumi import gcp:compute/regionPerInstanceConfig:RegionPerInstanceConfig default projects/{{project}}/regions/{{region}}/instanceGroupManagers/{{region_instance_group_manager}}/{{name}}
$ pulumi import gcp:compute/regionPerInstanceConfig:RegionPerInstanceConfig default {{project}}/{{region}}/{{region_instance_group_manager}}/{{name}}
$ pulumi import gcp:compute/regionPerInstanceConfig:RegionPerInstanceConfig default {{region}}/{{region_instance_group_manager}}/{{name}}
$ pulumi import gcp:compute/regionPerInstanceConfig:RegionPerInstanceConfig default {{region_instance_group_manager}}/{{name}}

Properties

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val minimalAction: Output<String>?

The minimal action to perform on the instance during an update. Default is NONE. Possible values are:

Link copied to clipboard

The most disruptive action to perform on the instance during an update. Default is REPLACE. Possible values are:

Link copied to clipboard
val name: Output<String>

The name for this per-instance config and its corresponding instance.

Link copied to clipboard

The preserved state for this instance. Structure is documented below.

Link copied to clipboard
val project: Output<String>

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val region: Output<String>

Region where the containing instance group manager is located

Link copied to clipboard

The region instance group manager this instance config is part of.

Link copied to clipboard

When true, deleting this config will immediately remove any specified state from the underlying instance. When false, deleting this config will not immediately remove any state from the underlying instance. State will be removed on the next instance recreation or update.

Link copied to clipboard
val urn: Output<String>