package
2.70.4+incompatible
Repository: https://github.com/terraform-providers/terraform-provider-aws.git
Documentation: pkg.go.dev

# Functions

Generate returns in order the name if non-empty, a prefix generated name if non-empty, or fully generated name prefixed with terraform-.
HasResourceUniqueIdPrefix returns true if the string has the built-in unique ID prefix.
HasResourceUniqueIdSuffix returns true if the string has the built-in unique ID suffix.
NamePrefixFromName returns a name prefix if the string matches prefix criteria The input to this function must be strictly the "name" and not any additional information such as a full Amazon Resource Name (ARN).
TestCheckResourceAttrNameFromPrefix verifies that the state attribute value matches name generated from given prefix.
TestCheckResourceAttrNameGenerated verifies that the state attribute value matches name automatically generated without prefix.