mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-20 01:29:07 +00:00
Merge pull request #2396 from dave-tucker/aws-placement
aws: Honour the zone variable when creating an instance
This commit is contained in:
commit
2cb045b571
@ -88,6 +88,9 @@ func runAWS(args []string) {
|
||||
InstanceType: aws.String(machine),
|
||||
MinCount: aws.Int64(1),
|
||||
MaxCount: aws.Int64(1),
|
||||
Placement: &ec2.Placement{
|
||||
AvailabilityZone: aws.String(zone),
|
||||
},
|
||||
}
|
||||
runResult, err := compute.RunInstances(params)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user