Expand description
Represents an Instance Settings resource. Instance settings are centralized configuration parameters that allow users to configure the default values for specific VM parameters that are normally set using GCE instance API methods.
To get more information about InstanceSettings, see:
- API documentation
- How-to Guides
§Example Usage
§Instance Settings Basic
resources:
gceInstanceSettings:
type: gcp:compute:InstanceSettings
name: gce_instance_settings
properties:
zone: us-east7-b
metadata:
items:
foo: baz
§Import
InstanceSettings can be imported using any of these accepted formats:
-
projects/{{project}}/zones/{{zone}}/instanceSettings
-
{{project}}/{{zone}}
-
{{zone}}
When using the pulumi import
command, InstanceSettings can be imported using one of the formats above. For example:
$ pulumi import gcp:compute/instanceSettings:InstanceSettings default projects/{{project}}/zones/{{zone}}/instanceSettings
$ pulumi import gcp:compute/instanceSettings:InstanceSettings default {{project}}/{{zone}}
$ pulumi import gcp:compute/instanceSettings:InstanceSettings default {{zone}}
Structs§
- Use builder syntax to set the inputs and finish with
build_struct()
.
Functions§
- Registers a new resource with the given unique name and arguments