Skip to content

Commit 6b9ec03

Browse files
committed
Merge branch 'main' into oreilly-main
2 parents f6af28f + a5c5786 commit 6b9ec03

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+1593
-79
lines changed

.github/renovate.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@
4747
"customManagers": [
4848
{
4949
"customType": "regex",
50-
"fileMatch": [
51-
"^.github/workflows/.*"
50+
"managerFilePatterns": [
51+
"/^.github/workflows/.*/"
5252
],
5353
"matchStrings": [
5454
"go-version: (?<currentValue>.*?)\n"

.github/workflows/aws-sdk-mocks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
with:
2020
persist-credentials: false
2121
fetch-depth: 0
22-
- uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5
22+
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5
2323
with:
2424
go-version: '1.21.x'
2525
- name: generate-token

.github/workflows/docs.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ jobs:
3131
- name: setup pages
3232
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5
3333
- name: setup python
34-
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5
34+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
3535
with:
3636
python-version: 3.x
3737
- name: setup cache
3838
run: |
3939
echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
4040
- name: handle cache
41-
uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4
41+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4
4242
with:
4343
key: mkdocs-material-${{ env.cache_id }}
4444
path: .cache

.github/workflows/golangci-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
16-
- uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5
16+
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5
1717
with:
1818
go-version: '1.21.x'
1919
cache: false

.github/workflows/goreleaser.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
with:
3030
fetch-depth: 0
3131
- name: setup-go
32-
uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5
32+
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5
3333
with:
3434
go-version: 1.21.x
3535
- name: setup qemu
@@ -79,7 +79,7 @@ jobs:
7979
QUILL_SIGN_PASSWORD: ${{ secrets.OP_QUILL_SIGN_PASSWORD }}
8080
QUILL_SIGN_P12: ${{ secrets.OP_QUILL_SIGN_P12 }}
8181
- name: run goreleaser
82-
uses: goreleaser/goreleaser-action@90a3faa9d0182683851fbfa97ca1a2cb983bfca3 # v6
82+
uses: goreleaser/goreleaser-action@9c156ee8a17a598857849441385a2041ef570552 # v6
8383
with:
8484
distribution: goreleaser
8585
version: latest
@@ -92,7 +92,7 @@ jobs:
9292
docker images --format "{{.Repository}}:{{.Tag}}" | grep "${{ github.repository }}" | xargs -L1 docker push
9393
- name: upload artifacts
9494
if: ${{ github.event.pull_request.base.ref == 'main' || github.event_name == 'workflow_dispatch' }}
95-
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
95+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
9696
with:
9797
name: binaries
9898
path: releases/*.tar.gz

.github/workflows/semantic.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
with:
2424
fetch-depth: 0
2525
- name: setup node.js
26-
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4
26+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
2727
with:
2828
node-version: "lts/*"
2929
- name: generate-token

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
17-
- uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5
17+
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5
1818
with:
1919
go-version: '1.21.x'
2020
- name: download go mods

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# syntax=docker/dockerfile:1.14-labs@sha256:bbd3af5735ce9921cfa2a8b59d1006445333e161cb4582c3d88aad0730d9b207
1+
# syntax=docker/dockerfile:1.15-labs@sha256:94edd5b349df43675bd6f542e2b9a24e7177432dec45fe3066bfcf2ab14c4355
22
FROM alpine:3.21.3@sha256:a8560b36e8b8210634f77d9f7f9efd7ffa463e380b75e2e74aff4511df3ef88c as base
33
RUN apk add --no-cache ca-certificates
44
RUN adduser -D aws-nuke

docs/config-custom-endpoints.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ endpoints:
4141
- service: acm
4242
url: https://10.16.145.115/api/v2/aws/acm
4343

44-
account-blocklist:
44+
blocklist:
4545
- "account-id-of-custom-region-prod" # production
4646

4747
accounts:
@@ -84,4 +84,4 @@ demo10 - EC2Volume - vol-db80932fb47243efa67c9dd34223c647 - [tag:Name: "web-serv
8484
demo10 - EC2Volume - vol-dbea1d1083654d30a43366807a125aed - [tag:Name: "volume-555e9f8a"] - would remove
8585

8686
--- truncating long output ---
87-
```
87+
```

docs/config-filtering.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ The following are comparisons that you can use to filter resources. These are u
9696
- `exact`
9797
- `contains`
9898
- `glob`
99-
- `regex`
99+
- `regex`
100100
- `dateOlderThan`
101101
- `dateOlderThanNow`
102102

@@ -242,7 +242,7 @@ presets:
242242
If the current time is `2024-10-15T00:00:00Z`, then the modified now time is `2024-10-14T12:00:00Z`.
243243

244244
If the value of `LastUsedDate` is `2024-10-14T14:30:00Z` then the result of the filter will be `true`. It is **NOT**
245-
older than the modified time, and since the invert is set to true, anything **newer** to the modified time is filtered.
245+
older than the modified time, and since the invert is set to true, anything **newer** to the modified time is filtered.
246246

247247
If the value of `LastUsedDate` is `2024-10-13T12:30:00Z` then the result of the filter will be `false` and the resource
248248
will be marked for removal.
@@ -251,7 +251,7 @@ will be marked for removal.
251251

252252
By default, when writing a filter if you do not specify a property, it will use the `Name` property. However, resources
253253
that do no support Properties, aws-nuke will fall back to what is called the `Legacy String`, it's essentially a
254-
function that returns a string representation of the resource.
254+
function that returns a string representation of the resource.
255255

256256
Some resources support filtering via properties. When a resource support these properties, they will be listed in
257257
the output like in this example:
@@ -310,7 +310,7 @@ presets:
310310

311311
It is possible to filter this is important for not deleting the current user for example or for resources like S3
312312
Buckets which have a globally shared namespace and might be hard to recreate. Currently, the filtering is based on
313-
the resource identifier. The identifier will be printed as the first step of *aws-nuke* (eg `i-01b489457a60298dd`
313+
the resource identifier. The identifier will be printed as the first step of *aws-nuke* (eg `i-01b489457a60298dd`
314314
for an EC2 instance).
315315

316316
!!! warning
@@ -327,7 +327,7 @@ regions:
327327
- global
328328
- us-east-1
329329
330-
account-blocklist:
330+
blocklist:
331331
- 1234567890
332332
333333
accounts:
@@ -361,7 +361,7 @@ regions:
361361
- "global"
362362
- "eu-west-1"
363363
364-
account-blocklist:
364+
blocklist:
365365
- 1234567890
366366
367367
accounts:
@@ -408,7 +408,7 @@ It is also possible to configure the resource types in the config file like in t
408408
regions:
409409
- "us-east-1"
410410
411-
account-blocklist:
411+
blocklist:
412412
- 1234567890
413413
414414
resource-types:
@@ -427,7 +427,7 @@ accounts:
427427
regions:
428428
- "us-east-1"
429429
430-
account-blocklist:
430+
blocklist:
431431
- 1234567890
432432
433433
resource-types:

0 commit comments

Comments
 (0)