aws

package
v0.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2015 License: MPL-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FQDN added in v0.4.0

func FQDN(name string) string

func IGAttachStateRefreshFunc

func IGAttachStateRefreshFunc(conn *ec2.EC2, id string, expected string) resource.StateRefreshFunc

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 added in v0.2.0

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 TestExpandIPPermsSDK added in v0.4.1

func TestExpandIPPermsSDK(t *testing.T)

func TestExpandIPPerms_nonVPCSDK added in v0.4.1

func TestExpandIPPerms_nonVPCSDK(t *testing.T)

func TestExpandInstanceStringSDK added in v0.4.1

func TestExpandInstanceStringSDK(t *testing.T)

func TestExpandListenersSDK added in v0.4.1

func TestExpandListenersSDK(t *testing.T)

func TestExpandParametersSDK added in v0.4.1

func TestExpandParametersSDK(t *testing.T)

func TestExpandPrivateIPAddessesSDK added in v0.4.1

func TestExpandPrivateIPAddessesSDK(t *testing.T)

func TestExpandStringListSDK added in v0.4.1

func TestExpandStringListSDK(t *testing.T)

func TestFlattenAttachmentSDK added in v0.4.1

func TestFlattenAttachmentSDK(t *testing.T)

func TestFlattenGroupIdentifiersSDK added in v0.4.1

func TestFlattenGroupIdentifiersSDK(t *testing.T)

func TestFlattenHealthCheckSDK added in v0.4.1

func TestFlattenHealthCheckSDK(t *testing.T)

func TestFlattenNetworkInterfacesPrivateIPAddessesSDK added in v0.4.1

func TestFlattenNetworkInterfacesPrivateIPAddessesSDK(t *testing.T)

func TestFlattenParametersSDK added in v0.4.1

func TestFlattenParametersSDK(t *testing.T)

func VPCStateRefreshFunc

func VPCStateRefreshFunc(conn *ec2.EC2, id string) resource.StateRefreshFunc

VPCStateRefreshFunc returns a resource.StateRefreshFunc that is used to watch a VPC.

func VpnGatewayAttachStateRefreshFunc added in v0.4.0

func VpnGatewayAttachStateRefreshFunc(conn *ec2.EC2, id string, expected string) resource.StateRefreshFunc

VpnGatewayAttachStateRefreshFunc returns a resource.StateRefreshFunc that is used to watch the state of a VPN gateway's attachment

Types

type AWSClient added in v0.3.5

type AWSClient struct {
	// contains filtered or unexported fields
}

type Config

type Config struct {
	AccessKey string
	SecretKey string
	Token     string
	Region    string
}

func (*Config) Client added in v0.3.5

func (c *Config) Client() (interface{}, error)

Client configures and returns a fully initailized AWSClient

func (*Config) ValidateRegion added in v0.4.0

func (c *Config) ValidateRegion() error

IsValidRegion returns true if the configured region is a valid AWS region and false if it's not

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL