From 56865fd0eb6433de2adc1655f79c21792c7564dc Mon Sep 17 00:00:00 2001 From: TAKANO Mitsuhiro Date: Sun, 17 Mar 2024 17:34:17 +0900 Subject: [PATCH] add configs for nuke --- nuke/config.yml | 34 ++++++++++++++++++++++++++++++++++ nuke/nuke-config.yml | 14 ++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 nuke/config.yml create mode 100644 nuke/nuke-config.yml diff --git a/nuke/config.yml b/nuke/config.yml new file mode 100644 index 0000000..02b2841 --- /dev/null +++ b/nuke/config.yml @@ -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: {} + + diff --git a/nuke/nuke-config.yml b/nuke/nuke-config.yml new file mode 100644 index 0000000..b5f4fd6 --- /dev/null +++ b/nuke/nuke-config.yml @@ -0,0 +1,14 @@ +regions: #削除するリージョン +- ap-northeast-1 +- global +account-blocklist: +- 000000000 # 削除対象外アカウントのアカウントID(指定しないとエラーになる) +resource-types: + excludes: + - IAMRole + - IAMRolePolicyAttachment + - IAMSAMLProvider + - IAMRolePolicy +accounts: + 828936781852: {} #削除対象アカウントのアカウントID 要書き換え +