Skip to content

Commit

Permalink
Delete all resources
Browse files Browse the repository at this point in the history
  • Loading branch information
goruha committed Sep 19, 2024
1 parent 4e4fade commit a088760
Showing 1 changed file with 0 additions and 227 deletions.
227 changes: 0 additions & 227 deletions .github/aws-nuke.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ accounts:
126450723953:
presets:
- defaults
- cpco

presets:
defaults:
Expand Down Expand Up @@ -238,229 +237,3 @@ presets:
- property: "tag:Name"
type: "regex"
value: "^$"

cpco:
filters:
CloudTrailTrail:
- property: "Name"
type: "regex"
value: ".*"
CloudWatchAlarm:
- property: "Name"
type: "regex"
# Alarm names have a path component, so do not anchor to start of string
value: ".*"
CodeDeployApplication:
- property: "Name"
type: "regex"
value: ".*"
S3Bucket:
- property: "Name"
type: "regex"
value: ".*"
S3Object:
- property: "Bucket"
type: "regex"
value: ".*"
EC2VPC:
- property: "tag:Name"
type: "regex"
value: ".*"
EC2Volume:
- property: "tag:Name"
type: "regex"
value: ".*"
EC2SecurityGroup:
- property: "Name"
type: "regex"
value: ".*"
- property: "tag:Name"
type: "regex"
value: ".*"
EC2Instance:
- property: "tag:Name"
type: "regex"
value: ".*"
EC2NetworkInterface:
- property: "tag:Name"
type: "regex"
value: ".*"
- property: "tag:Name"
type: "regex"
value: ".*"
EC2InternetGateway:
- property: "tag:Name"
type: "regex"
value: ".*"
EC2LaunchTemplate:
- property: "tag:Name"
type: "regex"
value: ".*"
EC2NATGateway:
- property: "tag:Name"
type: "regex"
value: ".*"
EC2InternetGatewayAttachment:
- property: "tag:igw:Name"
type: "regex"
value: ".*"
EC2Subnet:
- property: "tag:Name"
type: "regex"
value: ".*"
EC2RouteTable:
- property: "tag:Name"
type: "regex"
value: ".*"
EC2NetworkACL:
- property: "tag:Name"
type: "regex"
value: ".*"
AutoScalingGroup:
- property: "tag:Name"
type: "regex"
value: ".*"
ECSService:
- property: "tag:Name"
type: "regex"
value: ".*"
ECSCluster:
- property: "tag:Name"
type: "regex"
value: ".*"
ECSTaskDefinition:
- property: "tag:Name"
type: "regex"
value: ".*"
EKSCluster:
- type: "regex"
value: ".*"
EKSNodegroups:
- type: "regex"
value: ".*"
EKSFargateProfile:
- type: "regex"
value: ".*"
ELBLoadBalancer:
- property: "tag:Name"
type: "regex"
value: ".*"
ELBv2:
- type: "regex"
value: ".*"
- type: "regex"
value: ".*"
ELBv2TargetGroup:
- type: "regex"
value: ".*"
CloudformationStack:
- property: "tag:Name"
type: "regex"
value: ".*"
NeptuneCluster:
- property: "tag:Name"
type: "regex"
value: ".*"
NetpuneSnapshot:
- property: "tag:Name"
type: "regex"
value: ".*"
RDSInstance:
- property: "tag:Name"
type: "regex"
value: ".*"
RDSClusterSnapshot:
- property: "tag:Name"
type: "regex"
value: ".*"
RDSDBClusterParameterGroup:
- property: "tag:Name"
type: "regex"
value: ".*"
RDSOptionGroup:
- property: "tag:Name"
type: "regex"
value: ".*"
RDSDBParameterGroup:
- property: "tag:Name"
type: "regex"
value: ".*"
RDSDBSubnetGroup:
- property: "tag:Name"
type: "regex"
value: ".*"
IAMInstanceProfile:
- type: "regex"
value: ".*"
IAMInstanceProfileRole:
- type: "regex"
value: ".*"
IAMRole:
- type: "regex"
value: ".*"
- type: "regex"
value: ".*"
IAMRolePolicy:
- property: "role:RoleName"
type: "regex"
value: ".*"
IAMRolePolicyAttachment:
- type: "regex"
value: ".*"
- type: "regex"
value: ".*"
IAMPolicy:
- type: "regex"
value: ".*"
- type: "regex"
value: ".*"
- type: "regex"
value: ".*"
KMSAlias:
- property: "Name"
type: "regex"
# KMSAlias does not have tags, and names start with "alais/"
value: ".*"
KMSKey:
- property: "tag:Name"
type: "regex"
value: ".*"
CloudWatchLogsLogGroup:
- type: "regex"
value: ".*"
- type: "regex"
value: ".*"
EMRCluster:
- type: "regex"
value: ".*"
EC2KeyPair:
- type: "regex"
value: ".*"
IAMGroup:
- type: "regex"
value: ".*"
IAMGroupPolicyAttachment:
- type: "regex"
value: ".*"
IAMOpenIDConnectProvider:
- property: "tag:Name"
type: "regex"
value: ".*"
Route53ResourceRecordSet:
- property: "Name"
type: "exact"
value: ".*"
- property: "Name"
type: "exact"
value: ".*"
- property: "Name"
type: "regex"
value: ".*"
Route53HostedZone:
- property: "Name"
type: "regex"
value: ".*"
SSMParameter:
- property: "Name"
type: "regex"
value: ".*"

0 comments on commit a088760

Please sign in to comment.