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 {
SourceAMI string
IamInstanceProfile string
SubnetId string
AvailZone string
BlockDevices BlockDevices
instance *ec2.Instance
......@@ -51,6 +52,7 @@ func (s *StepRunSourceInstance) Run(state multistep.StateBag) multistep.StepActi
IamInstanceProfile: s.IamInstanceProfile,
SubnetId: s.SubnetId,
BlockDevices: s.BlockDevices.BuildLaunchDevices(),
AvailZone: s.AvailZone,
}
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