File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " ZAWS NUKE"
2+ run-name : Nuke my resources.
3+ on :
4+ workflow_dispatch :
5+ inputs :
6+ logLevel :
7+ description : ' Log level'
8+ required : true
9+ default : ' warning'
10+ type : choice
11+ options :
12+ - info
13+ - warning
14+ - debug
15+ jobs :
16+ aws_nuke :
17+ runs-on : ubuntu-latest
18+ container :
19+ image : ghcr.io/ekristen/aws-nuke
20+ options : --user root
21+ steps :
22+ - name : checkout repo
23+ uses : actions/checkout@v2
24+ - name : Configure AWS Credentials
25+ uses : aws-actions/configure-aws-credentials@v1
26+ with :
27+ aws-access-key-id : ${{ secrets.AWS_ACCESS_KEY_ID }}
28+ aws-secret-access-key : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
29+ aws-region : ${{ secrets.AWS_REGION }}
30+ - name : run aws-nuke
31+ run : |-
32+ aws-nuke version
33+ aws-nuke -c ${GITHUB_WORKSPACE}/nuke.yml --force --no-dry-run --force-sleep 3
You can’t perform that action at this time.
0 commit comments