Documentation ¶
Index ¶
- Variables
- func CacheClusterStateRefreshFunc(conn *elasticache.ElastiCache, clusterID, givenState string, pending []string) resource.StateRefreshFunc
- func DHCPOptionsStateRefreshFunc(conn *ec2.EC2, id string) resource.StateRefreshFunc
- func FQDN(name string) string
- func HostedZoneIDForRegion(region string) string
- func IGAttachStateRefreshFunc(conn *ec2.EC2, id string, expected string) resource.StateRefreshFunc
- func IGStateRefreshFunc(conn *ec2.EC2, id string) resource.StateRefreshFunc
- func InstanceStateRefreshFunc(conn *ec2.EC2, instanceID string) resource.StateRefreshFunc
- func Provider() terraform.ResourceProvider
- func SGStateRefreshFunc(conn *ec2.EC2, id string) resource.StateRefreshFunc
- func SubnetStateRefreshFunc(conn *ec2.EC2, id string) resource.StateRefreshFunc
- func VPCStateRefreshFunc(conn *ec2.EC2, id string) resource.StateRefreshFunc
- func WebsiteEndpointUrl(bucket string, region string) string
- type AWSClient
- type Config
Constants ¶
This section is empty.
Variables ¶
var AttributeMap = map[string]string{
"delay_seconds": "DelaySeconds",
"max_message_size": "MaximumMessageSize",
"message_retention_seconds": "MessageRetentionPeriod",
"receive_wait_time_seconds": "ReceiveMessageWaitTimeSeconds",
"visibility_timeout_seconds": "VisibilityTimeout",
"policy": "Policy",
"redrive_policy": "RedrivePolicy",
"arn": "QueueArn",
}
var SNSAttributeMap = map[string]string{
"display_name": "DisplayName",
"policy": "Policy",
"delivery_policy": "DeliveryPolicy",
}
Mutable attributes
Functions ¶
func CacheClusterStateRefreshFunc ¶
func CacheClusterStateRefreshFunc(conn *elasticache.ElastiCache, clusterID, givenState string, pending []string) resource.StateRefreshFunc
func DHCPOptionsStateRefreshFunc ¶
func DHCPOptionsStateRefreshFunc(conn *ec2.EC2, id string) resource.StateRefreshFunc
func HostedZoneIDForRegion ¶
Returns the hosted zone ID for an S3 website endpoint region. This can be used as input to the aws_route53_record resource's zone_id argument.
func IGAttachStateRefreshFunc ¶
IGAttachStateRefreshFunc returns a resource.StateRefreshFunc that is used watch the state of an internet gateway's attachment.
func IGStateRefreshFunc ¶
func IGStateRefreshFunc(conn *ec2.EC2, id string) resource.StateRefreshFunc
IGStateRefreshFunc returns a resource.StateRefreshFunc that is used to watch an internet gateway.
func InstanceStateRefreshFunc ¶
func InstanceStateRefreshFunc(conn *ec2.EC2, instanceID string) resource.StateRefreshFunc
InstanceStateRefreshFunc returns a resource.StateRefreshFunc that is used to watch an EC2 instance.
func Provider ¶
func Provider() terraform.ResourceProvider
Provider returns a terraform.ResourceProvider.
func SGStateRefreshFunc ¶
func SGStateRefreshFunc(conn *ec2.EC2, id string) resource.StateRefreshFunc
SGStateRefreshFunc returns a resource.StateRefreshFunc that is used to watch a security group.
func SubnetStateRefreshFunc ¶
func SubnetStateRefreshFunc(conn *ec2.EC2, id string) resource.StateRefreshFunc
SubnetStateRefreshFunc returns a resource.StateRefreshFunc that is used to watch a Subnet.
func VPCStateRefreshFunc ¶
func VPCStateRefreshFunc(conn *ec2.EC2, id string) resource.StateRefreshFunc
VPCStateRefreshFunc returns a resource.StateRefreshFunc that is used to watch a VPC.
func WebsiteEndpointUrl ¶
Types ¶
type Config ¶
type Config struct { AccessKey string SecretKey string Token string Region string MaxRetries int AllowedAccountIds []interface{} ForbiddenAccountIds []interface{} }
func (*Config) ValidateAccountId ¶
ValidateAccountId returns a context-specific error if the configured account id is explicitly forbidden or not authorised; and nil if it is authorised.
func (*Config) ValidateRegion ¶
ValidateRegion returns an error if the configured region is not a valid aws region and nil otherwise.
Source Files ¶
- autoscaling_tags.go
- config.go
- hosted_zones.go
- network_acl_entry.go
- provider.go
- resource_aws_app_cookie_stickiness_policy.go
- resource_aws_autoscaling_group.go
- resource_aws_customer_gateway.go
- resource_aws_db_instance.go
- resource_aws_db_parameter_group.go
- resource_aws_db_security_group.go
- resource_aws_db_subnet_group.go
- resource_aws_ebs_volume.go
- resource_aws_eip.go
- resource_aws_elasticache_cluster.go
- resource_aws_elasticache_security_group.go
- resource_aws_elasticache_subnet_group.go
- resource_aws_elb.go
- resource_aws_iam_access_key.go
- resource_aws_iam_group.go
- resource_aws_iam_group_policy.go
- resource_aws_iam_instance_profile.go
- resource_aws_iam_policy.go
- resource_aws_iam_role.go
- resource_aws_iam_role_policy.go
- resource_aws_iam_server_certificate.go
- resource_aws_iam_user.go
- resource_aws_iam_user_policy.go
- resource_aws_instance.go
- resource_aws_instance_migrate.go
- resource_aws_internet_gateway.go
- resource_aws_key_pair.go
- resource_aws_kinesis_stream.go
- resource_aws_launch_configuration.go
- resource_aws_lb_cookie_stickiness_policy.go
- resource_aws_main_route_table_association.go
- resource_aws_network_acl.go
- resource_aws_network_interface.go
- resource_aws_proxy_protocol_policy.go
- resource_aws_route53_record.go
- resource_aws_route53_zone.go
- resource_aws_route53_zone_association.go
- resource_aws_route_table.go
- resource_aws_route_table_association.go
- resource_aws_s3_bucket.go
- resource_aws_security_group.go
- resource_aws_security_group_rule.go
- resource_aws_sns_topic.go
- resource_aws_sns_topic_subscription.go
- resource_aws_sqs_queue.go
- resource_aws_subnet.go
- resource_aws_volume_attachment.go
- resource_aws_vpc.go
- resource_aws_vpc_dhcp_options.go
- resource_aws_vpc_dhcp_options_association.go
- resource_aws_vpc_peering_connection.go
- resource_aws_vpn_connection.go
- resource_aws_vpn_gateway.go
- resource_vpn_connection_route.go
- s3_tags.go
- structure.go
- tags.go
- tagsEC.go
- tagsELB.go
- tagsRDS.go
- tags_route53.go