From 495dd9e2f14a79ae9409a7ef3dca63a74971af99 Mon Sep 17 00:00:00 2001 From: wata_mac Date: Tue, 8 Nov 2016 00:19:56 +0900 Subject: [PATCH] enable DeleteOnTermination --- builtin/providers/aws/resource_aws_spot_fleet_request.go | 1 + 1 file changed, 1 insertion(+) diff --git a/builtin/providers/aws/resource_aws_spot_fleet_request.go b/builtin/providers/aws/resource_aws_spot_fleet_request.go index f44ff169476b..f3dad5e38df5 100644 --- a/builtin/providers/aws/resource_aws_spot_fleet_request.go +++ b/builtin/providers/aws/resource_aws_spot_fleet_request.go @@ -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,