Skip to content

Commit

Permalink
add configs for nuke
Browse files Browse the repository at this point in the history
  • Loading branch information
takano32 committed Mar 17, 2024
1 parent 353c03d commit 56865fd
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
34 changes: 34 additions & 0 deletions nuke/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
regions:
- "global"

account-blocklist:
- "999999999"

resource-types:
excludes:
- IAMUser
- IAMGroup
- IAMGroupPolicy
- IAMGroupPolicyAttachment
- IAMInstanceProfile
- IAMInstanceProfileRole
- IAMLoginProfile
- IAMOpenIDConnectProvider
- IAMPolicy
- IAMRole
- IAMRolePolicy
- IAMRolePolicyAttachment
- IAMSAMLProvider
- IAMServerCertificate
- IAMServiceSpecificCredential
- IAMSigningCertificate
- IAMUser
- IAMUserAccessKey
- IAMUserGroupAttachment
- IAMUserPolicy
- IAMUserPolicyAttachment

accounts:
828936781852: {}


14 changes: 14 additions & 0 deletions nuke/nuke-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
regions: #削除するリージョン
- ap-northeast-1
- global
account-blocklist:
- 000000000 # 削除対象外アカウントのアカウントID(指定しないとエラーになる)
resource-types:
excludes:
- IAMRole
- IAMRolePolicyAttachment
- IAMSAMLProvider
- IAMRolePolicy
accounts:
828936781852: {} #削除対象アカウントのアカウントID 要書き換え

0 comments on commit 56865fd

Please sign in to comment.