aws-nuke
aws-nuke copied to clipboard
Cant delete IoTThingGroup
AWS-Nuke is failing to delete an IoT Thing Group. Here is part of the error from Cloudtrail:
"eventTime": "2024-03-08T13:41:37Z",
"eventSource": "iot.amazonaws.com",
"eventName": "DeleteThingGroup",
"awsRegion": "eu-west-2",
"sourceIPAddress": "3.254.22.150",
"userAgent": "aws-sdk-go/1.44.328 (go1.21.0; linux; amd64) exec-env/AWS_ECS_FARGATE",
"errorCode": "InvalidRequestException",
"errorMessage": "This operation does not support dynamic thing groups. Thing group arn: arn:aws:iot:eu-west-2:730335588724:thinggroup/os-linux",
"requestParameters": {
"thingGroupName": "os-linux",
"expectedVersion": 1
},
I should add that I was able to delete it in the AWS Console without issue
Looks like dynamic groups have to be deleted by a different API call, but they are listed with the same listing call.