Commit 1aa551a4 authored by Matthew Hooker's avatar Matthew Hooker

builder/amazon/common: Add AvailZone to StepRunSourceInstance struct

[GH-536]
parent 60428cef
...@@ -18,6 +18,7 @@ type StepRunSourceInstance struct { ...@@ -18,6 +18,7 @@ type StepRunSourceInstance struct {
SourceAMI string SourceAMI string
IamInstanceProfile string IamInstanceProfile string
SubnetId string SubnetId string
AvailZone string
BlockDevices BlockDevices BlockDevices BlockDevices
instance *ec2.Instance instance *ec2.Instance
...@@ -51,6 +52,7 @@ func (s *StepRunSourceInstance) Run(state multistep.StateBag) multistep.StepActi ...@@ -51,6 +52,7 @@ func (s *StepRunSourceInstance) Run(state multistep.StateBag) multistep.StepActi
IamInstanceProfile: s.IamInstanceProfile, IamInstanceProfile: s.IamInstanceProfile,
SubnetId: s.SubnetId, SubnetId: s.SubnetId,
BlockDevices: s.BlockDevices.BuildLaunchDevices(), BlockDevices: s.BlockDevices.BuildLaunchDevices(),
AvailZone: s.AvailZone,
} }
ui.Say("Launching a source AWS instance...") ui.Say("Launching a source AWS instance...")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment