Skip to content

Commit ded1f30

Browse files
milldrgithub-actions[bot]
authored andcommitted
(github actions) generated latest snippets
1 parent ebe60c8 commit ded1f30

Some content is hidden

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

45 files changed

+82
-869
lines changed

examples/snippets/.github/workflows/atmos-components-updater.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,15 @@ on:
44
workflow_dispatch: {}
55

66
schedule:
7-
- cron: 0 8 * * *
7+
- cron: "0 8 * * *"
88

99
jobs:
1010
update:
1111
environment: atmos
1212
runs-on:
13-
- self-hosted
14-
- terraform
13+
- "runs-on=${{ github.run_id }}"
14+
- "runner=small"
15+
- "private=false"
1516
steps:
1617
- name: "Checkout source code at current commit"
1718
uses: actions/checkout@v4

examples/snippets/.github/workflows/atmos-pro-terraform-apply.yaml

Lines changed: 0 additions & 63 deletions
This file was deleted.

examples/snippets/.github/workflows/atmos-pro-terraform-plan.yaml

Lines changed: 0 additions & 55 deletions
This file was deleted.

examples/snippets/.github/workflows/atmos-pro.yaml

Lines changed: 0 additions & 82 deletions
This file was deleted.

examples/snippets/.github/workflows/atmos-terraform-apply-matrix.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,11 @@ jobs:
3131
atmos-apply:
3232
if: ${{ inputs.stacks != '{include:[]}' }}
3333
name: ${{ matrix.stack_slug }}
34-
runs-on:
35-
- self-hosted
36-
- terraform
34+
runs-on:
35+
- "runs-on=${{ github.run_id }}"
36+
- "runner=terraform"
37+
- "tag=${{ inputs.component }}-${{ inputs.stack }}"
38+
- "private=false"
3739
strategy:
3840
max-parallel: 10
3941
fail-fast: false # Don't fail fast to avoid locking TF State

examples/snippets/.github/workflows/atmos-terraform-apply.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,11 @@ jobs:
3434
name: Determine Affected Stacks
3535
if: needs.pr.outputs.no-apply == 'false'
3636
needs: ["pr"]
37-
runs-on:
38-
- self-hosted
39-
- terraform
37+
runs-on:
38+
- "runs-on=${{ github.run_id }}"
39+
- "runner=terraform"
40+
- "tag=${{ inputs.component }}-${{ inputs.stack }}"
41+
- "private=false"
4042
steps:
4143
- id: affected
4244
uses: cloudposse/github-action-atmos-affected-stacks@v4

examples/snippets/.github/workflows/atmos-terraform-dispatch.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,11 @@ permissions:
2828

2929
jobs:
3030
dispatch-id:
31-
runs-on:
32-
- self-hosted
33-
- terraform
31+
runs-on:
32+
- "runs-on=${{ github.run_id }}"
33+
- "runner=terraform"
34+
- "tag=${{ inputs.component }}-${{ inputs.stack }}"
35+
- "private=false"
3436
steps:
3537
- name: echo Distinct ID ${{ github.event.inputs.distinct_id }}
3638
run: echo ${{ github.event.inputs.distinct_id }}

examples/snippets/.github/workflows/atmos-terraform-drift-detection.yaml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,11 @@ permissions:
1717
jobs:
1818
select-components:
1919
name: Select Components
20-
runs-on:
21-
- self-hosted
22-
- terraform
20+
runs-on:
21+
- "runs-on=${{ github.run_id }}"
22+
- "runner=terraform"
23+
- "tag=${{ inputs.component }}-${{ inputs.stack }}"
24+
- "private=false"
2325
steps:
2426
- name: Selected Components
2527
id: components
@@ -54,10 +56,14 @@ jobs:
5456
needs: ["plan-atmos-components"]
5557
if: always()
5658
name: Reconcile issues
57-
runs-on: ['self-hosted', 'terraform']
59+
runs-on:
60+
- "runs-on=${{ github.run_id }}"
61+
- "runner=terraform"
62+
- "tag=${{ inputs.component }}-${{ inputs.stack }}"
63+
- "private=false"
5864
steps:
5965
- name: Drift Detection
6066
uses: cloudposse/github-action-atmos-terraform-drift-detection@v2
6167
with:
62-
max-opened-issues: '25'
68+
max-opened-issues: '10'
6369
process-all: 'true'

examples/snippets/.github/workflows/atmos-terraform-drift-remediation.yaml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,11 @@ jobs:
1616
remediate-drift:
1717
if: github.event.action == 'labeled' && contains(github.event.issue.labels.*.name, 'apply')
1818
name: Remediate Drift
19-
runs-on:
20-
- self-hosted
21-
- terraform
19+
runs-on:
20+
- "runs-on=${{ github.run_id }}"
21+
- "runner=terraform"
22+
- "tag=${{ inputs.component }}-${{ inputs.stack }}"
23+
- "private=false"
2224
steps:
2325
- uses: unfor19/install-aws-cli-action@v1
2426
- name: Remediate Drift
@@ -37,7 +39,11 @@ jobs:
3739
) &&
3840
!contains(github.event.issue.labels.*.name, 'remediated')
3941
name: Discard Drift
40-
runs-on: ['self-hosted', 'terraform']
42+
runs-on:
43+
- "runs-on=${{ github.run_id }}"
44+
- "runner=terraform"
45+
- "tag=${{ inputs.component }}-${{ inputs.stack }}"
46+
- "private=false"
4147
steps:
4248
- name: Discard Drift
4349
uses: cloudposse/github-action-atmos-terraform-drift-remediation@v2

examples/snippets/.github/workflows/atmos-terraform-plan-matrix.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,11 @@ jobs:
4141
atmos-plan:
4242
if: ${{ inputs.stacks != '{include:[]}' }}
4343
name: ${{ matrix.stack_slug }}
44-
runs-on:
45-
- self-hosted
46-
- terraform
44+
runs-on:
45+
- "runs-on=${{ github.run_id }}"
46+
- "runner=terraform"
47+
- "tag=${{ inputs.component }}-${{ inputs.stack }}"
48+
- "private=false"
4749
continue-on-error: ${{ inputs.continue-on-error == 'true' }}
4850
strategy:
4951
max-parallel: 10

0 commit comments

Comments
 (0)