The Providers.ImportSpec structure contains fields that are needed to import a provider.


string as binary
config Optional

Configuration to import. Currently this is required. Other import methods may be supported in the future.

constraints Optional

Constraints to impose on the imported provider If unset, the imported provider constraints will match the exported provider constraints.

dry_run Optional

Whether to perform a trial import without actuallly creating a provider. If unset, a new provider will be created.

string as password
password Optional

Password to decrypt the configuration to import. If unset or empty, configuration to import must be unencrypted.

JSON Example

	"config": "string",
	"constraints": {
		"tpm_required": false
	"dry_run": false,
	"password": "string"


Was this page helpful?