Versions in this module Expand all Collapse all v1 v1.0.1 Nov 13, 2023 v1.0.0 Nov 13, 2023 Changes in this version + const DefaultEmailAddress + const ProviderName + const ProviderNameAlternate + const ProviderNameAlternateAccountAlternateRegion + const ProviderNameAlternateAccountSameRegion + const ProviderNameSameAccountAlternateRegion + const ProviderNameThird + const RFC3339RegexPattern + const ResourcePrefix + var ProtoV5ProviderFactories map[string]func() (tfprotov5.ProviderServer, error) + var Provider *schema.Provider + var ProviderEC2Classic *schema.Provider + func ACMCertificateDomainFromEnv(t *testing.T) string + func ACMCertificateRandomSubDomain(rootDomain string) string + func AccountID() string + func AlternateRegion() string + func AvailableEC2InstanceTypeForAvailabilityZone(availabilityZoneName string, preferredInstanceTypes ...string) string + func AvailableEC2InstanceTypeForRegion(preferredInstanceTypes ...string) string + func AvailableEC2InstanceTypeForRegionNamed(name string, preferredInstanceTypes ...string) string + func CheckACMPCACertificateAuthorityActivateRootCA(certificateAuthority *acmpca.CertificateAuthority) resource.TestCheckFunc + func CheckACMPCACertificateAuthorityActivateSubordinateCA(rootCertificateAuthority, certificateAuthority *acmpca.CertificateAuthority) resource.TestCheckFunc + func CheckACMPCACertificateAuthorityDisableCA(certificateAuthority *acmpca.CertificateAuthority) resource.TestCheckFunc + func CheckACMPCACertificateAuthorityExists(n string, certificateAuthority *acmpca.CertificateAuthority) resource.TestCheckFunc + func CheckCallerIdentityAccountID(n string) resource.TestCheckFunc + func CheckDestroyNoop(_ *terraform.State) error + func CheckResourceAttrAccountID(resourceName, attributeName string) resource.TestCheckFunc + func CheckResourceAttrEquivalentJSON(resourceName, attributeName, expectedJSON string) resource.TestCheckFunc + func CheckResourceAttrGlobalARN(resourceName, attributeName, arnService, arnResource string) resource.TestCheckFunc + func CheckResourceAttrGlobalARNAccountID(resourceName, attributeName, accountID, arnService, arnResource string) resource.TestCheckFunc + func CheckResourceAttrGlobalARNNoAccount(resourceName, attributeName, arnService, arnResource string) resource.TestCheckFunc + func CheckResourceAttrGreaterThanValue(n, key, value string) resource.TestCheckFunc + func CheckResourceAttrRFC3339(resourceName, attributeName string) resource.TestCheckFunc + func CheckResourceAttrRegionalARN(resourceName, attributeName, arnService, arnResource string) resource.TestCheckFunc + func CheckResourceAttrRegionalARNAccountID(resourceName, attributeName, arnService, accountID, arnResource string) resource.TestCheckFunc + func CheckResourceAttrRegionalARNEC2Classic(resourceName, attributeName, arnService, arnResource string) resource.TestCheckFunc + func CheckResourceAttrRegionalARNIgnoreRegionAndAccount(resourceName, attributeName, arnService, arnResource string) resource.TestCheckFunc + func CheckResourceAttrRegionalARNNoAccount(resourceName, attributeName, arnService, arnResource string) resource.TestCheckFunc + func CheckResourceAttrRegionalHostnameService(resourceName, attributeName, serviceName string) resource.TestCheckFunc + func CheckResourceDisappears(provo *schema.Provider, resource *schema.Resource, resourceName string) resource.TestCheckFunc + func CheckVPCExists(n string, v *ec2.Vpc) resource.TestCheckFunc + func CheckWithProviders(f func(*terraform.State, *schema.Provider) error, ...) resource.TestCheckFunc + func ConfigAlternateAccountProvider() string + func ConfigAlternateRegionProvider() string + func ConfigAssumeRolePolicy(policy string) string + func ConfigAvailableAZsNoOptIn() string + func ConfigAvailableAZsNoOptInDefaultExclude() string + func ConfigAvailableAZsNoOptInExclude(excludeZoneIds ...string) string + func ConfigCompose(config ...string) string + func ConfigDefaultAndIgnoreTagsKeyPrefixes1(key1, value1, keyPrefix1 string) string + func ConfigDefaultAndIgnoreTagsKeys1(key1, value1 string) string + func ConfigDefaultTags_Tags0() string + func ConfigDefaultTags_Tags1(tag1, value1 string) string + func ConfigDefaultTags_Tags2(tag1, value1, tag2, value2 string) string + func ConfigEC2ClassicRegionProvider() string + func ConfigIgnoreTagsKeyPrefixes1(keyPrefix1 string) string + func ConfigIgnoreTagsKeys(key1 string) string + func ConfigLambdaBase(policyName, roleName, sgName string) string + func ConfigLatestAmazonLinux2HVMEBSARM64AMI() string + func ConfigLatestAmazonLinux2HVMEBSX8664AMI() string + func ConfigLatestAmazonLinuxHVMEBSAMI() string + func ConfigMultipleRegionProvider(regions int) string + func ConfigNamedRegionalProvider(providerName string, region string) string + func ConfigRegionalProvider(region string) string + func ConfigVPCWithSubnets(rName string, subnetCount int) string + func DeleteResource(resource *schema.Resource, d *schema.ResourceData, meta interface{}) error + func EC2ClassicRegion() string + func ErrorCheck(t *testing.T, endpointIDs ...string) resource.ErrorCheckFunc + func ErrorCheckSkipMessagesContaining(t *testing.T, messages ...string) resource.ErrorCheckFunc + func FactoriesAlternate(t *testing.T, providers *[]*schema.Provider) map[string]func() (*schema.Provider, error) + func MatchResourceAttrAccountID(resourceName, attributeName string) resource.TestCheckFunc + func MatchResourceAttrGlobalARN(resourceName, attributeName, arnService string, ...) resource.TestCheckFunc + func MatchResourceAttrGlobalARNNoAccount(resourceName, attributeName, arnService string, ...) resource.TestCheckFunc + func MatchResourceAttrGlobalHostname(resourceName, attributeName, serviceName string, ...) resource.TestCheckFunc + func MatchResourceAttrRegionalARN(resourceName, attributeName, arnService string, ...) resource.TestCheckFunc + func MatchResourceAttrRegionalARNAccountID(resourceName, attributeName, arnService, accountID string, ...) resource.TestCheckFunc + func MatchResourceAttrRegionalARNNoAccount(resourceName, attributeName, arnService string, ...) resource.TestCheckFunc + func MatchResourceAttrRegionalHostname(resourceName, attributeName, serviceName string, ...) resource.TestCheckFunc + func Partition() string + func PartitionDNSSuffix() string + func PartitionReverseDNSPrefix() string + func PreCheck(t *testing.T) + func PreCheckAPIGatewayTypeEDGE(t *testing.T) + func PreCheckAlternateAccount(t *testing.T) + func PreCheckAssumeRoleARN(t *testing.T) + func PreCheckDirectoryService(t *testing.T) + func PreCheckDirectoryServiceSimpleDirectory(t *testing.T) + func PreCheckEC2Classic(t *testing.T) + func PreCheckHasIAMRole(t *testing.T, roleName string) + func PreCheckIAMServiceLinkedRole(t *testing.T, pathPrefix string) + func PreCheckMultipleRegion(t *testing.T, regions int) + func PreCheckOrganizationManagementAccount(t *testing.T) + func PreCheckOrganizationsAccount(t *testing.T) + func PreCheckOrganizationsEnabled(t *testing.T) + func PreCheckOutpostsOutposts(t *testing.T) + func PreCheckPartition(t *testing.T, partition string) + func PreCheckPartitionHasService(serviceId string, t *testing.T) + func PreCheckPartitionNot(t *testing.T, partitions ...string) + func PreCheckRegion(t *testing.T, region string) + func PreCheckRegionNot(t *testing.T, regions ...string) + func PreCheckSSOAdminInstances(t *testing.T) + func PreCheckSkipError(err error) bool + func PrimaryInstanceState(s *terraform.State, name string) (*terraform.InstanceState, error) + func ProtoV5FactoriesAlternate(t *testing.T) map[string]func() (tfprotov5.ProviderServer, error) + func ProtoV5FactoriesAlternateAccountAndAlternateRegion(t *testing.T) map[string]func() (tfprotov5.ProviderServer, error) + func ProtoV5FactoriesMultipleRegions(t *testing.T, n int) map[string]func() (tfprotov5.ProviderServer, error) + func RandomDomain() domainName + func RandomDomainName() string + func RandomEmailAddress(domainName string) string + func RandomFQDomainName() string + func RandomSubdomain() string + func Region() string + func RegionProviderFunc(region string, providers *[]*schema.Provider) func() *schema.Provider + func RegisterServiceErrorCheckFunc(endpointID string, f ServiceErrorCheckFunc) + func Skip(t *testing.T, message string) + func TLSPEMEscapeNewlines(pem string) string + func TLSRSAPrivateKeyPEM(bits int) string + func TLSRSAPublicKeyPEM(keyPem string) string + func TLSRSAX509CertificateRequestPEM(keyBits int, commonName string) (string, string) + func TLSRSAX509LocallySignedCertificatePEM(caKeyPem, caCertificatePem, keyPem, commonName string) string + func TLSRSAX509SelfSignedCACertificateForRolesAnywhereTrustAnchorPEM(keyPem string) string + func TLSRSAX509SelfSignedCACertificatePEM(keyPem string) string + func TLSRSAX509SelfSignedCertificatePEM(keyPem, commonName string) string + func ThirdRegion() string + type ServiceErrorCheckFunc func(*testing.T) resource.ErrorCheckFunc