Get desktop application:
View/edit binary Protocol Buffers messages
////// Information about what a provider supports/expects
(message has no fields)
version is the schema_version number recorded in the state file
raw_state is the raw states as stored for the resource. Core does not have access to the schema of prior_version, so it's the provider's responsibility to interpret this value using the appropriate older schema. The raw_state will be the json encoded state, or a legacy flat-mapped format.
new_state is a msgpack-encoded data structure that, when interpreted with the _current_ schema for this resource type, is functionally equivalent to that which was given in prior_state_raw.
diagnostics describes any errors encountered during migration that could not be safely resolved, and warnings about any possibly-risky assumptions made in the upgrade process.
////// One-time initialization, called before other functions below
////// Managed Resource Lifecycle
This may be set only by the helper/schema "SDK" in the main Terraform repository, to request that Terraform Core >=0.12 permit additional inconsistencies that can result from the legacy SDK type system and its imprecise mapping to the >=0.12 type system. The change in behavior implied by this flag makes sense only for the specific details of the legacy SDK type system, and are not a general mechanism to avoid proper type handling in providers. ==== DO NOT USE THIS ==== ==== THIS MUST BE LEFT UNSET IN ALL OTHER SDKS ==== ==== DO NOT USE THIS ====
This may be set only by the helper/schema "SDK" in the main Terraform repository, to request that Terraform Core >=0.12 permit additional inconsistencies that can result from the legacy SDK type system and its imprecise mapping to the >=0.12 type system. The change in behavior implied by this flag makes sense only for the specific details of the legacy SDK type system, and are not a general mechanism to avoid proper type handling in providers. ==== DO NOT USE THIS ==== ==== THIS MUST BE LEFT UNSET IN ALL OTHER SDKS ==== ==== DO NOT USE THIS ====
////// Graceful Shutdown
(message has no fields)
(message has no fields)
Used in:
,Used in:
Set "attribute_name" to represent looking up an attribute in the current object value.
Set "element_key_*" to represent looking up an element in an indexable collection type.
(message has no fields)
Used in:
, , , , , , , , , , , , ,Used in:
DynamicValue is an opaque encoding of terraform data, with the field name indicating the encoding scheme used.
Used in:
, , , , , , , , , , , , , , , ,(message has no fields)
(message has no fields)
(message has no fields)
Used in:
(message has no fields)
(message has no fields)
(message has no fields)
RawState holds the stored state for a resource to be upgraded by the provider. It can be in one of two formats, the current json encoded format in bytes, or the legacy flatmap format as a map of strings.
Used in:
(message has no fields)
(message has no fields)
Schema is the configuration schema for a Resource, Provider, or Provisioner.
Used in:
,The version of the schema. Schemas are versioned, so that providers can upgrade a saved resource state when the schema is changed.
Block is the top level configuration block for this schema.
Used in:
Used in:
,Used in:
Used in:
(message has no fields)
Used as request type in: Provider.Stop, Provisioner.Stop
(message has no fields)
Used as response type in: Provider.Stop, Provisioner.Stop
Used in:
,(message has no fields)
(message has no fields)
(message has no fields)
(message has no fields)