From 0134315148b2d7eefc341dd5ca6abbd7ac0b7439 Mon Sep 17 00:00:00 2001 From: Kazuma Watanabe Date: Tue, 13 Dec 2016 19:38:05 +0900 Subject: [PATCH] enable DeleteOnTermination (#9922) --- 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 f44ff16947..f3dad5e38d 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,