Skip to content

Commit

Permalink
skipping dns for now
Browse files Browse the repository at this point in the history
  • Loading branch information
P0NDER0SA committed Sep 6, 2024
1 parent 9751f84 commit 73ebf76
Showing 1 changed file with 30 additions and 30 deletions.
60 changes: 30 additions & 30 deletions .github/workflows/terragrunt_plan_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -209,36 +209,36 @@ jobs:
cd env/${{env.ENVIRONMENT}}/${{env.COMPONENT}}
terragrunt plan --terragrunt-non-interactive
terragrunt-plan-dns:
if: |
always() &&
(needs.terragrunt-filter.outputs.dns == 'true' || needs.terragrunt-filter.outputs.common == 'true') &&
!contains(needs.*.result, 'failure') &&
!contains(needs.*.result, 'cancelled')
runs-on: ubuntu-latest
needs: [terragrunt-filter,terragrunt-plan-common,terragrunt-plan-ses_receiving_emails]
env:
COMPONENT: dns
steps:
- 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: Retrieve TFVars
run: |
op read op://4eyyuwddp6w4vxlabrr2i2duxm/"TFVars - ${{env.ENVIRONMENT}}"/notesPlain > /var/tmp/${{env.ENVIRONMENT}}.tfvars
- name: Checkout
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
- name: setup-terraform
uses: ./.github/actions/setup-terraform
with:
role_to_assume: arn:aws:iam::${{env.ACCOUNT_ID}}:role/notification-terraform-plan
role_session_name: NotifyTerraformPlan
- name: Terragrunt plan ${{env.COMPONENT}}
run: |
op read op://4eyyuwddp6w4vxlabrr2i2duxm/"TFVars - ${{env.ENVIRONMENT}}"/notesPlain > /var/tmp/${{env.ENVIRONMENT}}.tfvars
cd env/${{env.ENVIRONMENT}}/${{env.COMPONENT}}
terragrunt plan --terragrunt-non-interactive
# terragrunt-plan-dns:
# if: |
# always() &&
# (needs.terragrunt-filter.outputs.dns == 'true' || needs.terragrunt-filter.outputs.common == 'true') &&
# !contains(needs.*.result, 'failure') &&
# !contains(needs.*.result, 'cancelled')
# runs-on: ubuntu-latest
# needs: [terragrunt-filter,terragrunt-plan-common,terragrunt-plan-ses_receiving_emails]
# env:
# COMPONENT: dns
# steps:
# - 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: Retrieve TFVars
# run: |
# op read op://4eyyuwddp6w4vxlabrr2i2duxm/"TFVars - ${{env.ENVIRONMENT}}"/notesPlain > /var/tmp/${{env.ENVIRONMENT}}.tfvars
# - name: Checkout
# uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
# - name: setup-terraform
# uses: ./.github/actions/setup-terraform
# with:
# role_to_assume: arn:aws:iam::${{env.ACCOUNT_ID}}:role/notification-terraform-plan
# role_session_name: NotifyTerraformPlan
# - name: Terragrunt plan ${{env.COMPONENT}}
# run: |
# op read op://4eyyuwddp6w4vxlabrr2i2duxm/"TFVars - ${{env.ENVIRONMENT}}"/notesPlain > /var/tmp/${{env.ENVIRONMENT}}.tfvars
# cd env/${{env.ENVIRONMENT}}/${{env.COMPONENT}}
# terragrunt plan --terragrunt-non-interactive

terragrunt-plan-ses_validation_dns_entries:
if: |
Expand Down

0 comments on commit 73ebf76

Please sign in to comment.