Documentation ¶
Index ¶
- func GetSupportedEC2Platforms(conn *ec2.EC2) ([]string, error)
- func Provider() terraform.ResourceProvider
- func ProvisionedProductStateRefreshFunc(conn *servicecatalog.ServiceCatalog, id string) resource.StateRefreshFunc
- func RetryOnAwsCodes(codes []string, f func() (interface{}, error)) (interface{}, error)
- type AWSClient
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Provider ¶
func Provider() terraform.ResourceProvider
Provider returns a terraform.ResourceProvider.
func ProvisionedProductStateRefreshFunc ¶
func ProvisionedProductStateRefreshFunc(conn *servicecatalog.ServiceCatalog, id string) resource.StateRefreshFunc
ProvisionedProductStateRefreshFunc returns a resource.StateRefreshFunc that is used to watch a Provisioned Product.
func RetryOnAwsCodes ¶
RetryOnAwsCodes retries AWS error codes for one minute Note: This function will be moved out of the aws package in the future.
Types ¶
type AWSClient ¶
type AWSClient struct { IgnoreTagsConfig *keyvaluetags.IgnoreConfig // contains filtered or unexported fields }
func (*AWSClient) PartitionHostname ¶
PartitionHostname returns a hostname with the provider domain suffix for the partition e.g. PREFIX.amazonaws.com The prefix should not contain a trailing period.
func (*AWSClient) RegionalHostname ¶
RegionalHostname returns a hostname with the provider domain suffix for the region and partition e.g. PREFIX.us-west-2.amazonaws.com The prefix should not contain a trailing period.
type Config ¶
type Config struct { AccessKey string SecretKey string CredsFilename string Profile string Token string Region string MaxRetries int AssumeRoleARN string AssumeRoleExternalID string AssumeRoleSessionName string AssumeRolePolicy string AllowedAccountIds []string ForbiddenAccountIds []string Endpoints map[string]string IgnoreTagsConfig *keyvaluetags.IgnoreConfig Insecure bool SkipCredsValidation bool SkipGetEC2Platforms bool SkipRegionValidation bool SkipRequestingAccountId bool SkipMetadataApiCheck bool S3ForcePathStyle bool // contains filtered or unexported fields }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.