defaults

package
v3.98.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL