Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyDefaultInfoValues ¶
func ApplyDefaultInfoValues(ctx context.Context, args ApplyDefaultInfoValuesArgs) resource.PropertyMap
Transforms a PropertyMap to apply default values specified in DefaultInfo.
These values are specified at the bridged provider configuration level, and are applied before any Terraform processing; therefore the function works at Pulumi level (transforming a PropertyMap).
Types ¶
type ApplyDefaultInfoValuesArgs ¶
type ApplyDefaultInfoValuesArgs struct { // Required. The configuration property map to extend with defaults. PropertyMap resource.PropertyMap // Toplevel schema map for the resource, data source or provider. SchemaMap shim.SchemaMap // Toplevel SchemaInfo configuration matching TopSchemaMap. SchemaInfos map[string]*tfbridge.SchemaInfo // Note that URN need not be specified for Invoke or Configure processing. Do not set PropertyPath as this // module will set it based on recursive traversal. ComputeDefaultOptions tfbridge.ComputeDefaultOptions // Optional. If known, these are the provider-level configuration values, to support DefaultInfo.Config. ProviderConfig resource.PropertyMap }
Click to show internal directories.
Click to hide internal directories.