-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathaws-nuke-config.yaml
55 lines (52 loc) · 1.28 KB
/
aws-nuke-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
---
regions:
- "global" # This is for all global resource types e.g. IAM
- "us-east-1"
- "us-east-2"
- "us-west-1"
- "us-west-2"
#- "us-gov-west-1"
#- "ca-central-1"
#- "eu-west-1"
#- "eu-west-2"
#- "eu-west-3"
#- "eu-central-1"
#- "ap-northeast-1"
#- "ap-northeast-2"
#- "ap-northeast-3"
#- "ap-southeast-1"
#- "ap-southeast-2"
#- "ap-south-1"
#- "sa-east-1"
#- "cn-north-1"
#- "cn-northwest-1"
account-blacklist:
- 123456780123 #prod
accounts:
000000000000:
filters:
CloudFormationStack:
- "StackSetExecutionRoleStack"
- property: "tag:Permanent"
value: "True"
IAMGroup:
- property: "tag:Permanent"
value: "True"
IAMGroupPolicy:
- property: "tag:Permanent"
value: "True"
IAMRole:
- "OrganizationAccountAccessRole"
- "AWSCloudFormationStackSetExecutionRole"
- "NukeRole"
- property: "tag:Permanent"
value: "True"
IAMRolePolicy:
- property: "tag:Permanent"
value: "True"
IAMRolePolicyAttachment:
- "AWSCloudFormationStackSetExecutionRole -> AdministratorAccess"
- "OrganizationAccountAccessRole -> AdministratorAccess"
- "NukeRole -> AdministratorAccess"
- property: "tag:Permanent"
value: "True"