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 ¶
func ValidateResourceIDPriorToImportThen(idParser ResourceIDValidator, importer schema.StateContextFunc) *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.