Documentation ¶
Index ¶
- func IGAttachStateRefreshFunc(conn *ec2.EC2, id string, expected string) resource.StateRefreshFunc
- func IGStateRefreshFunc(ec2conn *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
- type AWSClient
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IGAttachStateRefreshFunc ¶
IGAttachStateRefreshFunc returns a resource.StateRefreshFunc that is used watch the state of an internet gateway's attachment.
func IGStateRefreshFunc ¶
func IGStateRefreshFunc(ec2conn *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.
Types ¶
type Config ¶
func (*Config) AWSAuth ¶
AWSAuth returns a valid aws.Auth object for access to AWS services, or an error if the authentication couldn't be resolved.
TODO(mitchellh): Test in some way.
func (*Config) AWSRegion ¶
AWSRegion returns the configured region.
TODO(mitchellh): Test in some way.
func (*Config) IsValidRegion ¶
IsValidRegion returns true if the configured region is a valid AWS region and false if it's not
Source Files ¶
- config.go
- network_acl_entry.go
- provider.go
- resource_aws_autoscaling_group.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_eip.go
- resource_aws_elb.go
- resource_aws_instance.go
- resource_aws_internet_gateway.go
- resource_aws_launch_configuration.go
- resource_aws_network_acl.go
- resource_aws_route53_record.go
- resource_aws_route53_zone.go
- resource_aws_route_table.go
- resource_aws_route_table_association.go
- resource_aws_s3_bucket.go
- resource_aws_security_group.go
- resource_aws_subnet.go
- resource_aws_vpc.go
- structure.go
- tags.go