awstasks

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2016 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const MaxUserDataSize = 16384

Variables

This section is empty.

Functions

func ComputeOpenSSHKeyFingerprint

func ComputeOpenSSHKeyFingerprint(publicKey string) (string, error)

ComputeOpenSSHKeyFingerprint computes the OpenSSH fingerprint of the SSH public key

Types

type AutoscalingGroup

type AutoscalingGroup struct {
	Name *string

	MinSize *int64
	MaxSize *int64
	Subnets []*Subnet
	Tags    map[string]string

	LaunchConfiguration *LaunchConfiguration
}

func (*AutoscalingGroup) CheckChanges

func (s *AutoscalingGroup) CheckChanges(a, e, changes *AutoscalingGroup) error

func (*AutoscalingGroup) CompareWithID

func (e *AutoscalingGroup) CompareWithID() *string

func (*AutoscalingGroup) Find

func (*AutoscalingGroup) GetName

func (e *AutoscalingGroup) GetName() *string

func (*AutoscalingGroup) RenderAWS

func (_ *AutoscalingGroup) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *AutoscalingGroup) error

func (*AutoscalingGroup) RenderTerraform

func (_ *AutoscalingGroup) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *AutoscalingGroup) error

func (*AutoscalingGroup) Run

func (e *AutoscalingGroup) Run(c *fi.Context) error

func (*AutoscalingGroup) SetName

func (e *AutoscalingGroup) SetName(name string)

func (*AutoscalingGroup) String

func (e *AutoscalingGroup) String() string
func (e *AutoscalingGroup) TerraformLink() *terraform.Literal

func (*AutoscalingGroup) UnmarshalJSON

func (o *AutoscalingGroup) UnmarshalJSON(data []byte) error

type BlockDeviceMapping

type BlockDeviceMapping struct {
	VirtualName *string

	EbsDeleteOnTermination *bool
	EbsVolumeSize          *int64
	EbsVolumeType          *string
}

func BlockDeviceMappingFromAutoscaling

func BlockDeviceMappingFromAutoscaling(i *autoscaling.BlockDeviceMapping) (string, *BlockDeviceMapping)

func BlockDeviceMappingFromEC2

func BlockDeviceMappingFromEC2(i *ec2.BlockDeviceMapping) (string, *BlockDeviceMapping)

func (*BlockDeviceMapping) GetDependencies

func (f *BlockDeviceMapping) GetDependencies(tasks map[string]fi.Task) []fi.Task

func (*BlockDeviceMapping) ToAutoscaling

func (i *BlockDeviceMapping) ToAutoscaling(deviceName string) *autoscaling.BlockDeviceMapping

func (*BlockDeviceMapping) ToEC2

func (i *BlockDeviceMapping) ToEC2(deviceName string) *ec2.BlockDeviceMapping

type DHCPOptions

type DHCPOptions struct {
	Name *string

	ID                *string
	DomainName        *string
	DomainNameServers *string
}

func (*DHCPOptions) CheckChanges

func (s *DHCPOptions) CheckChanges(a, e, changes *DHCPOptions) error

func (*DHCPOptions) CompareWithID

func (e *DHCPOptions) CompareWithID() *string

func (*DHCPOptions) Find

func (e *DHCPOptions) Find(c *fi.Context) (*DHCPOptions, error)

func (*DHCPOptions) GetName

func (e *DHCPOptions) GetName() *string

func (*DHCPOptions) RenderAWS

func (_ *DHCPOptions) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *DHCPOptions) error

func (*DHCPOptions) RenderTerraform

func (_ *DHCPOptions) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *DHCPOptions) error

func (*DHCPOptions) Run

func (e *DHCPOptions) Run(c *fi.Context) error

func (*DHCPOptions) SetName

func (e *DHCPOptions) SetName(name string)

func (*DHCPOptions) String

func (e *DHCPOptions) String() string
func (e *DHCPOptions) TerraformLink() *terraform.Literal

func (*DHCPOptions) UnmarshalJSON

func (o *DHCPOptions) UnmarshalJSON(data []byte) error

type DNSName

type DNSName struct {
	Name         *string
	ID           *string
	Zone         *DNSZone
	ResourceType *string

	TargetLoadBalancer *LoadBalancer
}

func (*DNSName) CheckChanges

func (s *DNSName) CheckChanges(a, e, changes *DNSName) error

func (*DNSName) Find

func (e *DNSName) Find(c *fi.Context) (*DNSName, error)

func (*DNSName) GetName

func (e *DNSName) GetName() *string

func (*DNSName) RenderAWS

func (_ *DNSName) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *DNSName) error

func (*DNSName) RenderTerraform

func (_ *DNSName) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *DNSName) error

func (*DNSName) Run

func (e *DNSName) Run(c *fi.Context) error

func (*DNSName) SetName

func (e *DNSName) SetName(name string)

func (*DNSName) String

func (e *DNSName) String() string
func (e *DNSName) TerraformLink() *terraform.Literal

func (*DNSName) UnmarshalJSON

func (o *DNSName) UnmarshalJSON(data []byte) error

type DNSZone

type DNSZone struct {
	Name *string
	ID   *string
}

func (*DNSZone) CheckChanges

func (s *DNSZone) CheckChanges(a, e, changes *DNSZone) error

func (*DNSZone) CompareWithID

func (e *DNSZone) CompareWithID() *string

func (*DNSZone) Find

func (e *DNSZone) Find(c *fi.Context) (*DNSZone, error)

func (*DNSZone) GetName

func (e *DNSZone) GetName() *string

func (*DNSZone) RenderAWS

func (_ *DNSZone) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *DNSZone) error

func (*DNSZone) RenderTerraform

func (_ *DNSZone) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *DNSZone) error

func (*DNSZone) Run

func (e *DNSZone) Run(c *fi.Context) error

func (*DNSZone) SetName

func (e *DNSZone) SetName(name string)

func (*DNSZone) String

func (e *DNSZone) String() string
func (e *DNSZone) TerraformLink() *terraform.Literal

func (*DNSZone) UnmarshalJSON

func (o *DNSZone) UnmarshalJSON(data []byte) error

type EBSVolume

type EBSVolume struct {
	Name             *string
	ID               *string
	AvailabilityZone *string
	VolumeType       *string
	SizeGB           *int64
	KmsKeyId         *string
	Encrypted        *bool
	Tags             map[string]string
}

func (*EBSVolume) CheckChanges

func (_ *EBSVolume) CheckChanges(a, e, changes *EBSVolume) error

func (*EBSVolume) CompareWithID

func (e *EBSVolume) CompareWithID() *string

func (*EBSVolume) Find

func (e *EBSVolume) Find(context *fi.Context) (*EBSVolume, error)

func (*EBSVolume) FindResourceID

func (e *EBSVolume) FindResourceID(c fi.Cloud) (*string, error)

func (*EBSVolume) GetName

func (e *EBSVolume) GetName() *string

func (*EBSVolume) RenderAWS

func (_ *EBSVolume) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *EBSVolume) error

func (*EBSVolume) RenderTerraform

func (_ *EBSVolume) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *EBSVolume) error

func (*EBSVolume) Run

func (e *EBSVolume) Run(c *fi.Context) error

func (*EBSVolume) SetName

func (e *EBSVolume) SetName(name string)

func (*EBSVolume) String

func (e *EBSVolume) String() string
func (e *EBSVolume) TerraformLink() *terraform.Literal

func (*EBSVolume) UnmarshalJSON

func (o *EBSVolume) UnmarshalJSON(data []byte) error

type ElasticIP

type ElasticIP struct {
	Name *string

	ID       *string
	PublicIP *string

	// Because ElasticIPs don't supporting tagging (sadly), we instead tag on
	// a different resource
	TagUsingKey   *string
	TagOnResource fi.Task
}

func (*ElasticIP) CheckChanges

func (s *ElasticIP) CheckChanges(a, e, changes *ElasticIP) error

func (*ElasticIP) Find

func (e *ElasticIP) Find(context *fi.Context) (*ElasticIP, error)

func (*ElasticIP) FindAddress

func (e *ElasticIP) FindAddress(context *fi.Context) (*string, error)

func (*ElasticIP) GetName

func (e *ElasticIP) GetName() *string

func (*ElasticIP) RenderAWS

func (_ *ElasticIP) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *ElasticIP) error

func (*ElasticIP) Run

func (e *ElasticIP) Run(c *fi.Context) error

func (*ElasticIP) SetName

func (e *ElasticIP) SetName(name string)

func (*ElasticIP) String

func (e *ElasticIP) String() string

func (*ElasticIP) UnmarshalJSON

func (o *ElasticIP) UnmarshalJSON(data []byte) error

type IAMInstanceProfile

type IAMInstanceProfile struct {
	Name *string
	ID   *string
}

func (*IAMInstanceProfile) CheckChanges

func (s *IAMInstanceProfile) CheckChanges(a, e, changes *IAMInstanceProfile) error

func (*IAMInstanceProfile) CompareWithID

func (e *IAMInstanceProfile) CompareWithID() *string

func (*IAMInstanceProfile) Find

func (*IAMInstanceProfile) GetName

func (e *IAMInstanceProfile) GetName() *string

func (*IAMInstanceProfile) RenderAWS

func (_ *IAMInstanceProfile) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *IAMInstanceProfile) error

func (*IAMInstanceProfile) RenderTerraform

func (_ *IAMInstanceProfile) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *IAMInstanceProfile) error

func (*IAMInstanceProfile) Run

func (e *IAMInstanceProfile) Run(c *fi.Context) error

func (*IAMInstanceProfile) SetName

func (e *IAMInstanceProfile) SetName(name string)

func (*IAMInstanceProfile) String

func (e *IAMInstanceProfile) String() string
func (e *IAMInstanceProfile) TerraformLink() *terraform.Literal

func (*IAMInstanceProfile) UnmarshalJSON

func (o *IAMInstanceProfile) UnmarshalJSON(data []byte) error

type IAMInstanceProfileRole

type IAMInstanceProfileRole struct {
	InstanceProfile *IAMInstanceProfile
	Role            *IAMRole
}

func (*IAMInstanceProfileRole) CheckChanges

func (s *IAMInstanceProfileRole) CheckChanges(a, e, changes *IAMInstanceProfileRole) error

func (*IAMInstanceProfileRole) Find

func (*IAMInstanceProfileRole) RenderAWS

func (_ *IAMInstanceProfileRole) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *IAMInstanceProfileRole) error

func (*IAMInstanceProfileRole) RenderTerraform

func (_ *IAMInstanceProfileRole) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *IAMInstanceProfileRole) error

func (*IAMInstanceProfileRole) Run

func (*IAMInstanceProfileRole) String

func (e *IAMInstanceProfileRole) String() string

type IAMRole

type IAMRole struct {
	ID                 *string
	Name               *string
	RolePolicyDocument *fi.ResourceHolder // "inline" IAM policy
}

func (*IAMRole) CheckChanges

func (s *IAMRole) CheckChanges(a, e, changes *IAMRole) error

func (*IAMRole) CompareWithID

func (e *IAMRole) CompareWithID() *string

func (*IAMRole) Find

func (e *IAMRole) Find(c *fi.Context) (*IAMRole, error)

func (*IAMRole) GetName

func (e *IAMRole) GetName() *string

func (*IAMRole) RenderAWS

func (_ *IAMRole) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *IAMRole) error

func (*IAMRole) RenderTerraform

func (_ *IAMRole) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *IAMRole) error

func (*IAMRole) Run

func (e *IAMRole) Run(c *fi.Context) error

func (*IAMRole) SetName

func (e *IAMRole) SetName(name string)

func (*IAMRole) String

func (e *IAMRole) String() string
func (e *IAMRole) TerraformLink() *terraform.Literal

func (*IAMRole) UnmarshalJSON

func (o *IAMRole) UnmarshalJSON(data []byte) error

type IAMRolePolicy

type IAMRolePolicy struct {
	ID             *string
	Name           *string
	Role           *IAMRole
	PolicyDocument *fi.ResourceHolder
}

func (*IAMRolePolicy) CheckChanges

func (s *IAMRolePolicy) CheckChanges(a, e, changes *IAMRolePolicy) error

func (*IAMRolePolicy) Find

func (e *IAMRolePolicy) Find(c *fi.Context) (*IAMRolePolicy, error)

func (*IAMRolePolicy) GetName

func (e *IAMRolePolicy) GetName() *string

func (*IAMRolePolicy) RenderAWS

func (_ *IAMRolePolicy) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *IAMRolePolicy) error

func (*IAMRolePolicy) RenderTerraform

func (_ *IAMRolePolicy) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *IAMRolePolicy) error

func (*IAMRolePolicy) Run

func (e *IAMRolePolicy) Run(c *fi.Context) error

func (*IAMRolePolicy) SetName

func (e *IAMRolePolicy) SetName(name string)

func (*IAMRolePolicy) String

func (e *IAMRolePolicy) String() string
func (e *IAMRolePolicy) TerraformLink() *terraform.Literal

func (*IAMRolePolicy) UnmarshalJSON

func (o *IAMRolePolicy) UnmarshalJSON(data []byte) error

type Instance

type Instance struct {
	ID *string

	UserData fi.Resource

	Subnet           *Subnet
	PrivateIPAddress *string

	Name *string
	Tags map[string]string

	ImageID            *string
	InstanceType       *string
	SSHKey             *SSHKey
	SecurityGroups     []*SecurityGroup
	AssociatePublicIP  *bool
	IAMInstanceProfile *IAMInstanceProfile
}

func (*Instance) CheckChanges

func (_ *Instance) CheckChanges(a, e, changes *Instance) error

func (*Instance) CompareWithID

func (s *Instance) CompareWithID() *string

func (*Instance) Find

func (e *Instance) Find(c *fi.Context) (*Instance, error)

func (*Instance) RenderAWS

func (_ *Instance) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *Instance) error

func (*Instance) Run

func (e *Instance) Run(c *fi.Context) error
func (e *Instance) TerraformLink() *terraform.Literal

type InstanceElasticIPAttachment

type InstanceElasticIPAttachment struct {
	Instance  *Instance
	ElasticIP *ElasticIP
}

func (*InstanceElasticIPAttachment) CheckChanges

func (s *InstanceElasticIPAttachment) CheckChanges(a, e, changes *InstanceElasticIPAttachment) error

func (*InstanceElasticIPAttachment) Find

func (*InstanceElasticIPAttachment) RenderAWS

func (*InstanceElasticIPAttachment) Run

func (*InstanceElasticIPAttachment) String

func (e *InstanceElasticIPAttachment) String() string

type InstanceVolumeAttachment

type InstanceVolumeAttachment struct {
	Instance *Instance
	Volume   *EBSVolume
	Device   *string
}

func (*InstanceVolumeAttachment) CheckChanges

func (s *InstanceVolumeAttachment) CheckChanges(a, e, changes *InstanceVolumeAttachment) error

func (*InstanceVolumeAttachment) Find

func (*InstanceVolumeAttachment) RenderAWS

func (*InstanceVolumeAttachment) Run

func (*InstanceVolumeAttachment) String

func (e *InstanceVolumeAttachment) String() string

type InternetGateway

type InternetGateway struct {
	Name   *string
	ID     *string
	VPC    *VPC
	Shared *bool
}

func (*InternetGateway) CheckChanges

func (s *InternetGateway) CheckChanges(a, e, changes *InternetGateway) error

func (*InternetGateway) CompareWithID

func (e *InternetGateway) CompareWithID() *string

func (*InternetGateway) Find

func (*InternetGateway) GetName

func (e *InternetGateway) GetName() *string

func (*InternetGateway) RenderAWS

func (_ *InternetGateway) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *InternetGateway) error

func (*InternetGateway) RenderTerraform

func (_ *InternetGateway) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *InternetGateway) error

func (*InternetGateway) Run

func (e *InternetGateway) Run(c *fi.Context) error

func (*InternetGateway) SetName

func (e *InternetGateway) SetName(name string)

func (*InternetGateway) String

func (e *InternetGateway) String() string
func (e *InternetGateway) TerraformLink() *terraform.Literal

func (*InternetGateway) UnmarshalJSON

func (o *InternetGateway) UnmarshalJSON(data []byte) error

type LaunchConfiguration

type LaunchConfiguration struct {
	Name *string

	UserData *fi.ResourceHolder

	ImageID            *string
	InstanceType       *string
	SSHKey             *SSHKey
	SecurityGroups     []*SecurityGroup
	AssociatePublicIP  *bool
	IAMInstanceProfile *IAMInstanceProfile

	// RootVolumeSize is the size of the EBS root volume to use, in GB
	RootVolumeSize *int64
	// RootVolumeType is the type of the EBS root volume to use (e.g. gp2)
	RootVolumeType *string

	// SpotPrice is set to the spot-price bid if this is a spot pricing request
	SpotPrice *string

	ID *string
}

func (*LaunchConfiguration) CheckChanges

func (s *LaunchConfiguration) CheckChanges(a, e, changes *LaunchConfiguration) error

func (*LaunchConfiguration) CompareWithID

func (e *LaunchConfiguration) CompareWithID() *string

func (*LaunchConfiguration) Find

func (*LaunchConfiguration) GetName

func (e *LaunchConfiguration) GetName() *string

func (*LaunchConfiguration) RenderAWS

func (_ *LaunchConfiguration) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *LaunchConfiguration) error

func (*LaunchConfiguration) RenderTerraform

func (_ *LaunchConfiguration) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *LaunchConfiguration) error

func (*LaunchConfiguration) Run

func (e *LaunchConfiguration) Run(c *fi.Context) error

func (*LaunchConfiguration) SetName

func (e *LaunchConfiguration) SetName(name string)

func (*LaunchConfiguration) String

func (e *LaunchConfiguration) String() string
func (e *LaunchConfiguration) TerraformLink() *terraform.Literal

func (*LaunchConfiguration) UnmarshalJSON

func (o *LaunchConfiguration) UnmarshalJSON(data []byte) error

type LoadBalancer

type LoadBalancer struct {
	Name *string

	// ID is the name in ELB, possibly different from our name
	// (ELB is restricted as to names, so we have limited choices!)
	ID *string

	DNSName      *string
	HostedZoneId *string

	Subnets        []*Subnet
	SecurityGroups []*SecurityGroup

	Listeners map[string]*LoadBalancerListener
}

func (*LoadBalancer) CheckChanges

func (s *LoadBalancer) CheckChanges(a, e, changes *LoadBalancer) error

func (*LoadBalancer) CompareWithID

func (e *LoadBalancer) CompareWithID() *string

func (*LoadBalancer) Find

func (e *LoadBalancer) Find(c *fi.Context) (*LoadBalancer, error)

func (*LoadBalancer) GetName

func (e *LoadBalancer) GetName() *string

func (*LoadBalancer) RenderAWS

func (_ *LoadBalancer) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *LoadBalancer) error

func (*LoadBalancer) Run

func (e *LoadBalancer) Run(c *fi.Context) error

func (*LoadBalancer) SetName

func (e *LoadBalancer) SetName(name string)

func (*LoadBalancer) String

func (e *LoadBalancer) String() string

func (*LoadBalancer) UnmarshalJSON

func (o *LoadBalancer) UnmarshalJSON(data []byte) error

type LoadBalancerAttachment

type LoadBalancerAttachment struct {
	LoadBalancer     *LoadBalancer
	AutoscalingGroup *AutoscalingGroup
}

func (*LoadBalancerAttachment) CheckChanges

func (s *LoadBalancerAttachment) CheckChanges(a, e, changes *LoadBalancerAttachment) error

func (*LoadBalancerAttachment) Find

func (*LoadBalancerAttachment) RenderAWS

func (_ *LoadBalancerAttachment) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *LoadBalancerAttachment) error

func (*LoadBalancerAttachment) Run

func (*LoadBalancerAttachment) String

func (e *LoadBalancerAttachment) String() string

type LoadBalancerHealthChecks

type LoadBalancerHealthChecks struct {
	LoadBalancer *LoadBalancer

	Target *string

	HealthyThreshold   *int64
	UnhealthyThreshold *int64

	Interval *int64
	Timeout  *int64
}

func (*LoadBalancerHealthChecks) CheckChanges

func (s *LoadBalancerHealthChecks) CheckChanges(a, e, changes *LoadBalancerHealthChecks) error

func (*LoadBalancerHealthChecks) Find

func (*LoadBalancerHealthChecks) RenderAWS

func (*LoadBalancerHealthChecks) Run

func (*LoadBalancerHealthChecks) String

func (e *LoadBalancerHealthChecks) String() string

type LoadBalancerListener

type LoadBalancerListener struct {
	InstancePort int
}

func (*LoadBalancerListener) GetDependencies

func (e *LoadBalancerListener) GetDependencies(tasks map[string]fi.Task) []fi.Task

type Route

type Route struct {
	Name *string

	RouteTable      *RouteTable
	InternetGateway *InternetGateway
	Instance        *Instance
	CIDR            *string
}

func (*Route) CheckChanges

func (s *Route) CheckChanges(a, e, changes *Route) error

func (*Route) Find

func (e *Route) Find(c *fi.Context) (*Route, error)

func (*Route) GetName

func (e *Route) GetName() *string

func (*Route) RenderAWS

func (_ *Route) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *Route) error

func (*Route) RenderTerraform

func (_ *Route) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *Route) error

func (*Route) Run

func (e *Route) Run(c *fi.Context) error

func (*Route) SetName

func (e *Route) SetName(name string)

func (*Route) String

func (e *Route) String() string

func (*Route) UnmarshalJSON

func (o *Route) UnmarshalJSON(data []byte) error

type RouteTable

type RouteTable struct {
	Name *string
	ID   *string
	VPC  *VPC
}

func (*RouteTable) CheckChanges

func (s *RouteTable) CheckChanges(a, e, changes *RouteTable) error

func (*RouteTable) CompareWithID

func (e *RouteTable) CompareWithID() *string

func (*RouteTable) Find

func (e *RouteTable) Find(c *fi.Context) (*RouteTable, error)

func (*RouteTable) GetName

func (e *RouteTable) GetName() *string

func (*RouteTable) RenderAWS

func (_ *RouteTable) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *RouteTable) error

func (*RouteTable) RenderTerraform

func (_ *RouteTable) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *RouteTable) error

func (*RouteTable) Run

func (e *RouteTable) Run(c *fi.Context) error

func (*RouteTable) SetName

func (e *RouteTable) SetName(name string)

func (*RouteTable) String

func (e *RouteTable) String() string
func (e *RouteTable) TerraformLink() *terraform.Literal

func (*RouteTable) UnmarshalJSON

func (o *RouteTable) UnmarshalJSON(data []byte) error

type RouteTableAssociation

type RouteTableAssociation struct {
	Name       *string
	ID         *string
	RouteTable *RouteTable
	Subnet     *Subnet
}

func (*RouteTableAssociation) CheckChanges

func (s *RouteTableAssociation) CheckChanges(a, e, changes *RouteTableAssociation) error

func (*RouteTableAssociation) CompareWithID

func (s *RouteTableAssociation) CompareWithID() *string

func (*RouteTableAssociation) Find

func (*RouteTableAssociation) GetName

func (e *RouteTableAssociation) GetName() *string

func (*RouteTableAssociation) RenderAWS

func (_ *RouteTableAssociation) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *RouteTableAssociation) error

func (*RouteTableAssociation) RenderTerraform

func (_ *RouteTableAssociation) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *RouteTableAssociation) error

func (*RouteTableAssociation) Run

func (*RouteTableAssociation) SetName

func (e *RouteTableAssociation) SetName(name string)

func (*RouteTableAssociation) String

func (e *RouteTableAssociation) String() string
func (e *RouteTableAssociation) TerraformLink() *terraform.Literal

func (*RouteTableAssociation) UnmarshalJSON

func (o *RouteTableAssociation) UnmarshalJSON(data []byte) error

type SSHKey

type SSHKey struct {
	Name *string

	PublicKey *fi.ResourceHolder

	KeyFingerprint *string
}

func (*SSHKey) CheckChanges

func (s *SSHKey) CheckChanges(a, e, changes *SSHKey) error

func (*SSHKey) CompareWithID

func (e *SSHKey) CompareWithID() *string

func (*SSHKey) Find

func (e *SSHKey) Find(c *fi.Context) (*SSHKey, error)

func (*SSHKey) GetName

func (e *SSHKey) GetName() *string

func (*SSHKey) RenderAWS

func (_ *SSHKey) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *SSHKey) error

func (*SSHKey) RenderTerraform

func (_ *SSHKey) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *SSHKey) error

func (*SSHKey) Run

func (e *SSHKey) Run(c *fi.Context) error

func (*SSHKey) SetName

func (e *SSHKey) SetName(name string)

func (*SSHKey) String

func (e *SSHKey) String() string
func (e *SSHKey) TerraformLink() *terraform.Literal

func (*SSHKey) UnmarshalJSON

func (o *SSHKey) UnmarshalJSON(data []byte) error

type SecurityGroup

type SecurityGroup struct {
	Name *string

	ID          *string
	Description *string
	VPC         *VPC

	RemoveExtraRules *bool
}

func (*SecurityGroup) CheckChanges

func (_ *SecurityGroup) CheckChanges(a, e, changes *SecurityGroup) error

func (*SecurityGroup) CompareWithID

func (e *SecurityGroup) CompareWithID() *string

func (*SecurityGroup) Find

func (e *SecurityGroup) Find(c *fi.Context) (*SecurityGroup, error)

func (*SecurityGroup) FindDeletions

func (e *SecurityGroup) FindDeletions(c *fi.Context) ([]fi.Deletion, error)

security group deletion is temporarily reverted - #478

func (*SecurityGroup) GetName

func (e *SecurityGroup) GetName() *string

func (*SecurityGroup) RenderAWS

func (_ *SecurityGroup) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *SecurityGroup) error

func (*SecurityGroup) RenderTerraform

func (_ *SecurityGroup) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *SecurityGroup) error

func (*SecurityGroup) Run

func (e *SecurityGroup) Run(c *fi.Context) error

func (*SecurityGroup) SetName

func (e *SecurityGroup) SetName(name string)

func (*SecurityGroup) String

func (e *SecurityGroup) String() string
func (e *SecurityGroup) TerraformLink() *terraform.Literal

func (*SecurityGroup) UnmarshalJSON

func (o *SecurityGroup) UnmarshalJSON(data []byte) error

type SecurityGroupRule

type SecurityGroupRule struct {
	Name *string

	SecurityGroup *SecurityGroup
	CIDR          *string
	Protocol      *string

	// FromPort is the lower-bound (inclusive) of the port-range
	FromPort *int64
	// ToPort is the upper-bound (inclusive) of the port-range
	ToPort      *int64
	SourceGroup *SecurityGroup

	Egress *bool
}

func (*SecurityGroupRule) CheckChanges

func (_ *SecurityGroupRule) CheckChanges(a, e, changes *SecurityGroupRule) error

func (*SecurityGroupRule) Find

func (*SecurityGroupRule) GetName

func (e *SecurityGroupRule) GetName() *string

func (*SecurityGroupRule) RenderAWS

func (_ *SecurityGroupRule) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *SecurityGroupRule) error

func (*SecurityGroupRule) RenderTerraform

func (_ *SecurityGroupRule) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *SecurityGroupRule) error

func (*SecurityGroupRule) Run

func (e *SecurityGroupRule) Run(c *fi.Context) error

func (*SecurityGroupRule) SetName

func (e *SecurityGroupRule) SetName(name string)

func (*SecurityGroupRule) String

func (e *SecurityGroupRule) String() string

func (*SecurityGroupRule) UnmarshalJSON

func (o *SecurityGroupRule) UnmarshalJSON(data []byte) error

type Subnet

type Subnet struct {
	Name             *string
	ID               *string
	VPC              *VPC
	AvailabilityZone *string
	CIDR             *string
	Shared           *bool
}

func (*Subnet) CheckChanges

func (s *Subnet) CheckChanges(a, e, changes *Subnet) error

func (*Subnet) CompareWithID

func (e *Subnet) CompareWithID() *string

func (*Subnet) Find

func (e *Subnet) Find(c *fi.Context) (*Subnet, error)

func (*Subnet) GetName

func (e *Subnet) GetName() *string

func (*Subnet) RenderAWS

func (_ *Subnet) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *Subnet) error

func (*Subnet) RenderTerraform

func (_ *Subnet) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *Subnet) error

func (*Subnet) Run

func (e *Subnet) Run(c *fi.Context) error

func (*Subnet) SetName

func (e *Subnet) SetName(name string)

func (*Subnet) String

func (e *Subnet) String() string
func (e *Subnet) TerraformLink() *terraform.Literal

func (*Subnet) UnmarshalJSON

func (o *Subnet) UnmarshalJSON(data []byte) error

type TaggableResource

type TaggableResource interface {
	FindResourceID(c fi.Cloud) (*string, error)
}

type VPC

type VPC struct {
	Name               *string
	ID                 *string
	CIDR               *string
	EnableDNSHostnames *bool
	EnableDNSSupport   *bool

	// Shared is set if this is a shared VPC
	Shared *bool
}

func (*VPC) CheckChanges

func (s *VPC) CheckChanges(a, e, changes *VPC) error

func (*VPC) CompareWithID

func (e *VPC) CompareWithID() *string

func (*VPC) Find

func (e *VPC) Find(c *fi.Context) (*VPC, error)

func (*VPC) GetName

func (e *VPC) GetName() *string

func (*VPC) RenderAWS

func (_ *VPC) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *VPC) error

func (*VPC) RenderTerraform

func (_ *VPC) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *VPC) error

func (*VPC) Run

func (e *VPC) Run(c *fi.Context) error

func (*VPC) SetName

func (e *VPC) SetName(name string)

func (*VPC) String

func (e *VPC) String() string
func (e *VPC) TerraformLink() *terraform.Literal

func (*VPC) UnmarshalJSON

func (o *VPC) UnmarshalJSON(data []byte) error

type VPCDHCPOptionsAssociation

type VPCDHCPOptionsAssociation struct {
	VPC         *VPC
	DHCPOptions *DHCPOptions
}

func (*VPCDHCPOptionsAssociation) CheckChanges

func (s *VPCDHCPOptionsAssociation) CheckChanges(a, e, changes *VPCDHCPOptionsAssociation) error

func (*VPCDHCPOptionsAssociation) Find

func (*VPCDHCPOptionsAssociation) RenderAWS

func (*VPCDHCPOptionsAssociation) RenderTerraform

func (*VPCDHCPOptionsAssociation) Run

func (*VPCDHCPOptionsAssociation) String

func (e *VPCDHCPOptionsAssociation) String() string

Jump to

Keyboard shortcuts

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