enable DeleteOnTermination (#9922)

This commit is contained in:
Kazuma Watanabe 2016-12-13 19:38:05 +09:00 committed by Paul Stack
parent 04812b60d2
commit 0134315148

View File

@ -375,6 +375,7 @@ func buildSpotFleetLaunchSpecification(d map[string]interface{}, meta interface{
// the same request
ni := &ec2.InstanceNetworkInterfaceSpecification{
AssociatePublicIpAddress: aws.Bool(true),
DeleteOnTermination: aws.Bool(true),
DeviceIndex: aws.Int64(int64(0)),
SubnetId: aws.String(subnetId.(string)),
Groups: groupIds,