Google Compute Engine Per Instance Config
This page shows how to write Terraform for Compute Engine Per Instance Config and write them securely.
The Per Instance Config in Compute Engine can be configured in Terraform with the resource name
google_compute_per_instance_config. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
An example could not be found in GitHub.
idoptionalcomputed - string
instance_group_managerrequired - string
The instance group manager this instance config is part of.
minimal_actionoptional - string
most_disruptive_allowed_actionoptional - string
namerequired - string
The name for this per-instance config and its corresponding instance.
projectoptionalcomputed - string
remove_instance_state_on_destroyoptional - bool
zoneoptional - string
Zone where the containing instance group manager is located
Explanation in Terraform Registry
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. To get more information about PerInstanceConfig, see: