func (e *Keypair) Run(c *fi.Context) error { err := e.normalize(c) if err != nil { return err } return fi.DefaultDeltaRunMethod(e, c) }
func (e *LaunchConfiguration) Run(c *fi.Context) error { blockDeviceMappings, err := addEphemeralDevices(e.InstanceType, e.BlockDeviceMappings) if err != nil { return err } e.BlockDeviceMappings = blockDeviceMappings return fi.DefaultDeltaRunMethod(e, c) }
func (e *SSHKey) Run(c *fi.Context) error { if e.KeyFingerprint == nil && e.PublicKey != nil { keyFingerprint, err := computeAwsKeyFingerprint(e.PublicKey) if err != nil { return fmt.Errorf("error computing key fingerpring for SSH key: %v", err) } glog.V(2).Infof("Computed SSH key fingerprint as %q", keyFingerprint) e.KeyFingerprint = &keyFingerprint } return fi.DefaultDeltaRunMethod(e, c) }
func (e *Instance) Run(c *fi.Context) error { c.Cloud.(*awsup.AWSCloud).AddTags(e.Name, e.Tags) blockDeviceMappings, err := addEphemeralDevices(e.InstanceType, e.BlockDeviceMappings) if err != nil { return err } e.BlockDeviceMappings = blockDeviceMappings return fi.DefaultDeltaRunMethod(e, c) }
func (e *InstanceTemplate) Run(c *fi.Context) error { return fi.DefaultDeltaRunMethod(e, c) }
func (e *RouteTable) Run(c *fi.Context) error { return fi.DefaultDeltaRunMethod(e, c) }
func (e *LoadBalancerHealthChecks) Run(c *fi.Context) error { return fi.DefaultDeltaRunMethod(e, c) }
func (e *SecurityGroupRule) Run(c *fi.Context) error { return fi.DefaultDeltaRunMethod(e, c) }
func (e *VPCDHCPOptionsAssociation) Run(c *fi.Context) error { return fi.DefaultDeltaRunMethod(e, c) }
func (e *DHCPOptions) Run(c *fi.Context) error { return fi.DefaultDeltaRunMethod(e, c) }
func (e *DNSName) Run(c *fi.Context) error { return fi.DefaultDeltaRunMethod(e, c) }
func (e *EBSVolume) Run(c *fi.Context) error { c.Cloud.(*awsup.AWSCloud).AddTags(e.Name, e.Tags) return fi.DefaultDeltaRunMethod(e, c) }
func (e *PersistentDisk) Run(c *fi.Context) error { return fi.DefaultDeltaRunMethod(e, c) }
func (e *FirewallRule) Run(c *fi.Context) error { return fi.DefaultDeltaRunMethod(e, c) }
func (e *ManagedInstanceGroup) Run(c *fi.Context) error { return fi.DefaultDeltaRunMethod(e, c) }
func (e *Network) Run(c *fi.Context) error { return fi.DefaultDeltaRunMethod(e, c) }
func (e *ElasticIP) Run(c *fi.Context) error { return fi.DefaultDeltaRunMethod(e, c) }
func (e *InstanceVolumeAttachment) Run(c *fi.Context) error { return fi.DefaultDeltaRunMethod(e, c) }
func (e *IPAddress) Run(c *fi.Context) error { return fi.DefaultDeltaRunMethod(e, c) }
func (e *IAMRolePolicy) Run(c *fi.Context) error { return fi.DefaultDeltaRunMethod(e, c) }
func (e *UpdatePackages) Run(c *fi.Context) error { return fi.DefaultDeltaRunMethod(e, c) }
func (e *IAMInstanceProfileRole) Run(c *fi.Context) error { return fi.DefaultDeltaRunMethod(e, c) }
func (e *Subnet) Run(c *fi.Context) error { return fi.DefaultDeltaRunMethod(e, c) }
func (e *AutoscalingGroup) Run(c *fi.Context) error { c.Cloud.(*awsup.AWSCloud).AddTags(e.Name, e.Tags) return fi.DefaultDeltaRunMethod(e, c) }
func (e *InternetGateway) Run(c *fi.Context) error { return fi.DefaultDeltaRunMethod(e, c) }
func (e *MountDiskTask) Run(c *fi.Context) error { return fi.DefaultDeltaRunMethod(e, c) }
func (e *UserTask) Run(c *fi.Context) error { return fi.DefaultDeltaRunMethod(e, c) }
func (e *LoadBalancerAttachment) Run(c *fi.Context) error { return fi.DefaultDeltaRunMethod(e, c) }