Skip to content

Instantly share code, notes, and snippets.

@saurabh-hirani
Last active May 13, 2020 13:33
Show Gist options
  • Save saurabh-hirani/eaa9455488af5299ee5d07746a965f88 to your computer and use it in GitHub Desktop.
Save saurabh-hirani/eaa9455488af5299ee5d07746a965f88 to your computer and use it in GitHub Desktop.
cloud-nuke ignore-errors output
INFO[2020-05-06T19:31:10+05:30] The following resources types will be nuked:
INFO[2020-05-06T19:31:10+05:30] - ami
INFO[2020-05-06T19:31:10+05:30] - asg
INFO[2020-05-06T19:31:10+05:30] - ebs
INFO[2020-05-06T19:31:10+05:30] - ec2
INFO[2020-05-06T19:31:10+05:30] - ecsserv
INFO[2020-05-06T19:31:10+05:30] - eip
INFO[2020-05-06T19:31:10+05:30] - ekscluster
INFO[2020-05-06T19:31:10+05:30] - elb
INFO[2020-05-06T19:31:10+05:30] - elbv2
INFO[2020-05-06T19:31:10+05:30] - lc
INFO[2020-05-06T19:31:10+05:30] - rds
INFO[2020-05-06T19:31:10+05:30] - s3
INFO[2020-05-06T19:31:10+05:30] - snap
INFO[2020-05-06T19:31:10+05:30] The following resources types errors will be ignored:
INFO[2020-05-06T19:31:10+05:30] - all
INFO[2020-05-06T19:31:11+05:30] Retrieving active AWS resources in [us-east-1]
INFO[2020-05-06T19:31:11+05:30] Checking region [1/1]: us-east-1
WARN[2020-05-06T19:31:12+05:30] Ignoring get resources error - asg - AccessDenied: User: arn:aws:sts::12345678:assumed-role/role-1/session-1 is not authorized to perform: autoscaling:DescribeAutoScalingGroups
        status code: 403, request id: xxxx
WARN[2020-05-06T19:31:12+05:30] Ignoring get resources error - lc - AccessDenied: User: arn:aws:sts::12345678:assumed-role/role-1/session-1 is not authorized to perform: autoscaling:DescribeLaunchConfigurations
        status code: 403, request id: xxxx
WARN[2020-05-06T19:31:13+05:30] Ignoring get resources error - elb - AccessDenied: User: arn:aws:sts::12345678:assumed-role/role-1/session-1 is not authorized to perform: elasticloadbalancing:DescribeLoadBalancers
        status code: 403, request id: xxxx
WARN[2020-05-06T19:31:13+05:30] Ignoring get resources error - elbv2 - AccessDenied: User: arn:aws:sts::12345678:assumed-role/role-1/session-1 is not authorized to perform: elasticloadbalancing:DescribeLoadBalancers
        status code: 403, request id: xxxx
WARN[2020-05-06T19:31:14+05:30] Ignoring get resources error - ec2 - UnauthorizedOperation: You are not authorized to perform this operation.
        status code: 403, request id: xxxx
WARN[2020-05-06T19:31:15+05:30] Ignoring get resources error - ebs - UnauthorizedOperation: You are not authorized to perform this operation.
        status code: 403, request id: xxxx
WARN[2020-05-06T19:31:16+05:30] Ignoring get resources error - eip - UnauthorizedOperation: You are not authorized to perform this operation.
        status code: 403, request id: xxxx
WARN[2020-05-06T19:31:17+05:30] Ignoring get resources error - ami - UnauthorizedOperation: You are not authorized to perform this operation.
        status code: 403, request id: xxxx
WARN[2020-05-06T19:31:18+05:30] Ignoring get resources error - snap - UnauthorizedOperation: You are not authorized to perform this operation.
        status code: 403, request id: xxxx
WARN[2020-05-06T19:31:20+05:30] Ignoring get resources error - ecsserv - AccessDeniedException: User: arn:aws:sts::12345678:assumed-role/role-1/session-1 is not authorized to perform: ecs:ListClusters on resource: *
        status code: 400, request id: xxxx
WARN[2020-05-06T19:31:21+05:30] Ignoring get resources error - ekscluster - AccessDeniedException: User: arn:aws:sts::12345678:assumed-role/role-1/session-1 is not authorized to perform: eks:ListClusters on resource: arn:aws:eks:us-east-1:12345678:cluster/*
        status code: 403, request id: xxxx
WARN[2020-05-06T19:31:22+05:30] Ignoring get resources error - rds - AccessDenied: User: arn:aws:sts::12345678:assumed-role/role-1/session-1 is not authorized to perform: rds:DescribeDBInstances
        status code: 403, request id: xxxx
WARN[2020-05-06T19:31:23+05:30] Ignoring get resources error - rds - AccessDenied: User: arn:aws:sts::12345678:assumed-role/role-1/session-1 is not authorized to perform: rds:DescribeDBClusters
        status code: 403, request id: xxxx```
WARN[2020-05-06T19:31:24+05:30] Ignoring get resources error - s3 - AccessDenied: Access Denied
        status code: 403, request id: xxxx
INFO[2020-05-06T19:31:24+05:30] Nothing to nuke, you're all good!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment