Documentation ¶
Index ¶
- Constants
- Variables
- func CheckCrn(value string) error
- func ConcatExternalProviders(providerMaps ...map[string]resource.ExternalProvider) map[string]resource.ExternalProvider
- func CreateDefaultRoleAndPolicy(p *AwsAccountCredentials) string
- func GetCdpClientForAccTest() *cdp.Client
- func PreCheck(t *testing.T)
- func RandomShortWithPrefix(name string) string
- func TestAccAwsProviderConfig(p *AwsProvider) string
- func TestAccCdpProviderConfig() string
- type AwsAccountCredentials
- type AwsProvider
Constants ¶
View Source
const (
ResourcePrefix = "tf-acc-test"
)
Variables ¶
View Source
var ( AwsExternalProvider = map[string]resource.ExternalProvider{ "aws": { Source: "hashicorp/aws", VersionConstraint: "~> 5.0", }, } HttpExternalProvider = map[string]resource.ExternalProvider{ "http": { Source: "hashicorp/http", VersionConstraint: "~> 3.4", }, } TimeExternalProvider = map[string]resource.ExternalProvider{ "time": { Source: "hashicorp/time", }, } )
View Source
var TestAccProtoV6ProviderFactories = map[string]func() (tfprotov6.ProviderServer, error){ "cdp": providerserver.NewProtocol6WithError(provider.New("test")()), }
Functions ¶
func ConcatExternalProviders ¶
func ConcatExternalProviders(providerMaps ...map[string]resource.ExternalProvider) map[string]resource.ExternalProvider
func CreateDefaultRoleAndPolicy ¶ added in v0.7.4
func CreateDefaultRoleAndPolicy(p *AwsAccountCredentials) string
func GetCdpClientForAccTest ¶
func RandomShortWithPrefix ¶ added in v0.5.9
func TestAccAwsProviderConfig ¶
func TestAccAwsProviderConfig(p *AwsProvider) string
func TestAccCdpProviderConfig ¶
func TestAccCdpProviderConfig() string
Types ¶
type AwsAccountCredentials ¶ added in v0.7.4
type AwsAccountCredentials struct {
// contains filtered or unexported fields
}
func NewAwsAccountCredentials ¶ added in v0.7.4
func NewAwsAccountCredentials(name string) *AwsAccountCredentials
func (*AwsAccountCredentials) WithAccountID ¶ added in v0.7.4
func (a *AwsAccountCredentials) WithAccountID(t *testing.T) *AwsAccountCredentials
func (*AwsAccountCredentials) WithExternalID ¶ added in v0.7.4
func (a *AwsAccountCredentials) WithExternalID(t *testing.T) *AwsAccountCredentials
func (*AwsAccountCredentials) WithPolicy ¶ added in v0.7.4
func (a *AwsAccountCredentials) WithPolicy(t *testing.T) *AwsAccountCredentials
type AwsProvider ¶ added in v0.7.4
type AwsProvider struct {
// contains filtered or unexported fields
}
func NewAwsProvider ¶ added in v0.7.4
func NewAwsProvider(profile, region string) *AwsProvider
Click to show internal directories.
Click to hide internal directories.