Documentation ¶
Index ¶
- func DBInstanceStateRefreshFunc(id string, conn *rds.Rds) resource.StateRefreshFunc
- func DBSecurityGroupStateRefreshFunc(id string, conn *rds.Rds) resource.StateRefreshFunc
- 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 RouteTableStateRefreshFunc(conn *ec2.EC2, id string) resource.StateRefreshFunc
- 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 Config
- type ResourceProvider
- func (p *ResourceProvider) Apply(s *terraform.ResourceState, d *terraform.ResourceDiff) (*terraform.ResourceState, error)
- func (p *ResourceProvider) Configure(c *terraform.ResourceConfig) error
- func (p *ResourceProvider) Diff(s *terraform.ResourceState, c *terraform.ResourceConfig) (*terraform.ResourceDiff, error)
- func (p *ResourceProvider) Refresh(s *terraform.ResourceState) (*terraform.ResourceState, error)
- func (p *ResourceProvider) Resources() []terraform.ResourceType
- func (p *ResourceProvider) Validate(c *terraform.ResourceConfig) ([]string, []error)
- func (p *ResourceProvider) ValidateResource(t string, c *terraform.ResourceConfig) ([]string, []error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DBInstanceStateRefreshFunc ¶
func DBInstanceStateRefreshFunc(id string, conn *rds.Rds) resource.StateRefreshFunc
func DBSecurityGroupStateRefreshFunc ¶
func DBSecurityGroupStateRefreshFunc(id string, conn *rds.Rds) resource.StateRefreshFunc
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 RouteTableStateRefreshFunc ¶
func RouteTableStateRefreshFunc(conn *ec2.EC2, id string) resource.StateRefreshFunc
RouteTableStateRefreshFunc returns a resource.StateRefreshFunc that is used to watch a RouteTable.
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 ¶
type Config struct { AccessKey string `mapstructure:"access_key"` SecretKey string `mapstructure:"secret_key"` Region string `mapstructure:"region"` }
type ResourceProvider ¶
type ResourceProvider struct { Config Config // contains filtered or unexported fields }
func (*ResourceProvider) Apply ¶
func (p *ResourceProvider) Apply( s *terraform.ResourceState, d *terraform.ResourceDiff) (*terraform.ResourceState, error)
func (*ResourceProvider) Configure ¶
func (p *ResourceProvider) Configure(c *terraform.ResourceConfig) error
func (*ResourceProvider) Diff ¶
func (p *ResourceProvider) Diff( s *terraform.ResourceState, c *terraform.ResourceConfig) (*terraform.ResourceDiff, error)
func (*ResourceProvider) Refresh ¶
func (p *ResourceProvider) Refresh( s *terraform.ResourceState) (*terraform.ResourceState, error)
func (*ResourceProvider) Resources ¶
func (p *ResourceProvider) Resources() []terraform.ResourceType
func (*ResourceProvider) Validate ¶
func (p *ResourceProvider) Validate(c *terraform.ResourceConfig) ([]string, []error)
func (*ResourceProvider) ValidateResource ¶
func (p *ResourceProvider) ValidateResource( t string, c *terraform.ResourceConfig) ([]string, []error)
Source Files ¶
- config.go
- resource_aws_autoscaling_group.go
- resource_aws_db_instance.go
- resource_aws_db_security_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_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
- resource_provider.go
- resources.go
- structure.go