Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ on:
jobs:
update:
environment: atmos
runs-on: ["self-hosted", "default"]
runs-on:
- self-hosted
- terraform
steps:
- name: "Checkout source code at current commit"
uses: actions/checkout@v4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ jobs:
atmos-apply:
if: ${{ inputs.stacks != '{include:[]}' }}
name: ${{ matrix.stack_slug }}
runs-on: ["self-hosted", "terraform"]
runs-on:
- self-hosted
- terraform
strategy:
max-parallel: 10
fail-fast: false # Don't fail fast to avoid locking TF State
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ jobs:
name: Determine Affected Stacks
if: needs.pr.outputs.no-apply == 'false'
needs: ["pr"]
runs-on: ["self-hosted", "terraform"]
runs-on:
- self-hosted
- terraform
steps:
- id: affected
uses: cloudposse/github-action-atmos-affected-stacks@v4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ permissions:

jobs:
dispatch-id:
runs-on: ["self-hosted", "terraform"]
runs-on:
- self-hosted
- terraform
steps:
- name: echo Distinct ID ${{ github.event.inputs.distinct_id }}
run: echo ${{ github.event.inputs.distinct_id }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ permissions:
jobs:
select-components:
name: Select Components
runs-on: ["self-hosted", "terraform"]
runs-on:
- self-hosted
- terraform
steps:
- name: Selected Components
id: components
Expand Down Expand Up @@ -52,7 +54,7 @@ jobs:
needs: ["plan-atmos-components"]
if: always()
name: Reconcile issues
runs-on: ["self-hosted", "terraform"]
runs-on: ['self-hosted', 'terraform']
steps:
- name: Drift Detection
uses: cloudposse/github-action-atmos-terraform-drift-detection@v2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ jobs:
remediate-drift:
if: github.event.action == 'labeled' && contains(github.event.issue.labels.*.name, 'apply')
name: Remediate Drift
runs-on: ["self-hosted", "terraform"]
runs-on:
- self-hosted
- terraform
steps:
- uses: unfor19/install-aws-cli-action@v1
- name: Remediate Drift
Expand All @@ -35,7 +37,7 @@ jobs:
) &&
!contains(github.event.issue.labels.*.name, 'remediated')
name: Discard Drift
runs-on: ["self-hosted", "terraform"]
runs-on: ['self-hosted', 'terraform']
steps:
- name: Discard Drift
uses: cloudposse/github-action-atmos-terraform-drift-remediation@v2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ jobs:
atmos-plan:
if: ${{ inputs.stacks != '{include:[]}' }}
name: ${{ matrix.stack_slug }}
runs-on: ["self-hosted", "terraform"]
runs-on:
- self-hosted
- terraform
continue-on-error: ${{ inputs.continue-on-error == 'true' }}
strategy:
max-parallel: 10
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ jobs:
atmos-affected:
if: ${{ !contains( github.event.pull_request.labels.*.name, 'no-plan') }}
name: Determine Affected Stacks
runs-on: ["self-hosted", "terraform"]
runs-on:
- self-hosted
- terraform
steps:
- id: affected
uses: cloudposse/github-action-atmos-affected-stacks@v4
Expand Down
1 change: 1 addition & 0 deletions examples/snippets/stacks/workflows/identity.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ workflows:
type: shell
command: |-
set -e
: "${ATMOS_BASE_PATH:=.}"
AWS_CONFIG_VERSION="1.227.0"
printf "Updating AWS Config in $ATMOS_BASE_PATH/rootfs/usr/local/bin/aws-config\n"
printf "Note: Rebuild Geodesic to apply script updates\n"
Expand Down
Loading