Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateResourceIDPriorToImport ¶
func ValidateResourceIDPriorToImport(idParser ResourceIDValidator) *schema.ResourceImporter
ValidateResourceIDPriorToImport parses the Resource ID to confirm it's valid for this Resource prior to performing an import - allowing for incorrect Resource ID's to be caught prior to Import and subsequent crashes
func ValidateResourceIDPriorToImportThen ¶ added in v1.43.0
func ValidateResourceIDPriorToImportThen(idParser ResourceIDValidator, importer schema.StateFunc) *schema.ResourceImporter
ValidateResourceIDPriorToImportThen parses the Resource ID to confirm it's valid for this Resource prior to calling the importer - allowing for incorrect Resource ID's to be caught prior to Import and subsequent crashes
Types ¶
type ResourceIDValidator ¶
ResourceIDValidator takes a Resource ID and confirms that it's Valid
Click to show internal directories.
Click to hide internal directories.