We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9da9d96 + 0821634 commit 17c167aCopy full SHA for 17c167a
pkg/resources/aws/aws.go
@@ -336,7 +336,8 @@ func DeleteInstances(cloud fi.Cloud, t []*resources.Resource) error {
336
337
klog.Infof("Terminating %d EC2 instances", len(ids))
338
request := &ec2.TerminateInstancesInput{
339
- InstanceIds: ids,
+ InstanceIds: ids,
340
+ SkipOsShutdown: aws.Bool(true),
341
}
342
ids = []string{}
343
_, err := c.EC2().TerminateInstances(ctx, request)
0 commit comments