mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
enable DeleteOnTermination (#9922)
This commit is contained in:
parent
04812b60d2
commit
0134315148
@ -375,6 +375,7 @@ func buildSpotFleetLaunchSpecification(d map[string]interface{}, meta interface{
|
|||||||
// the same request
|
// the same request
|
||||||
ni := &ec2.InstanceNetworkInterfaceSpecification{
|
ni := &ec2.InstanceNetworkInterfaceSpecification{
|
||||||
AssociatePublicIpAddress: aws.Bool(true),
|
AssociatePublicIpAddress: aws.Bool(true),
|
||||||
|
DeleteOnTermination: aws.Bool(true),
|
||||||
DeviceIndex: aws.Int64(int64(0)),
|
DeviceIndex: aws.Int64(int64(0)),
|
||||||
SubnetId: aws.String(subnetId.(string)),
|
SubnetId: aws.String(subnetId.(string)),
|
||||||
Groups: groupIds,
|
Groups: groupIds,
|
||||||
|
Loading…
Reference in New Issue
Block a user