Skip to content

Commit

Permalink
re-enabling eks for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
ben851 committed Sep 4, 2024
1 parent c470442 commit c0eccdd
Showing 1 changed file with 29 additions and 29 deletions.
58 changes: 29 additions & 29 deletions .github/workflows/terragrunt_create_dev_environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -206,35 +206,35 @@ jobs:
cd env/dev/cloudfront
terragrunt apply --var-file /var/tmp/dev.tfvars --terragrunt-non-interactive -auto-approve
# terragrunt-apply-eks:
# if: |
# always() &&
# !contains(needs.*.result, 'failure') &&
# !contains(needs.*.result, 'cancelled')
# runs-on: ubuntu-latest
# needs: [terragrunt-apply-common,terragrunt-apply-dns,terragrunt-apply-cloudfront]

# steps:
# - name: Checkout
# uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
# - name: setup-terraform
# uses: ./.github/actions/setup-terraform
# with:
# role_to_assume: arn:aws:iam::800095993820:role/notification-terraform-apply
# role_session_name: NotifyTerraformApply

# - name: Install 1Pass CLI
# run: |
# curl -o 1pass.deb https://downloads.1password.com/linux/debian/amd64/stable/1password-cli-amd64-latest.deb
# sudo dpkg -i 1pass.deb

# - name: terragrunt apply eks
# continue-on-error: true
# run: |
# op read op://4eyyuwddp6w4vxlabrr2i2duxm/"TFVars - Dev"/notesPlain > /var/tmp/dev.tfvars
# cd env/dev/eks
# terragrunt apply --var-file /var/tmp/dev.tfvars --terragrunt-non-interactive -auto-approve
terragrunt-apply-eks:
if: |
always() &&
!contains(needs.*.result, 'failure') &&
!contains(needs.*.result, 'cancelled')
runs-on: ubuntu-latest
needs: [terragrunt-apply-common,terragrunt-apply-dns,terragrunt-apply-cloudfront]

steps:
- name: Checkout
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0

- name: setup-terraform
uses: ./.github/actions/setup-terraform
with:
role_to_assume: arn:aws:iam::800095993820:role/notification-terraform-apply
role_session_name: NotifyTerraformApply

- name: Install 1Pass CLI
run: |
curl -o 1pass.deb https://downloads.1password.com/linux/debian/amd64/stable/1password-cli-amd64-latest.deb
sudo dpkg -i 1pass.deb
- name: terragrunt apply eks
continue-on-error: true
run: |
op read op://4eyyuwddp6w4vxlabrr2i2duxm/"TFVars - Dev"/notesPlain > /var/tmp/dev.tfvars
cd env/dev/eks
terragrunt apply --var-file /var/tmp/dev.tfvars --terragrunt-non-interactive -auto-approve
terragrunt-apply-elasticache:
if: |
Expand Down

0 comments on commit c0eccdd

Please sign in to comment.