diff --git a/.github/workflows/terragrunt_plan_dev.yml b/.github/workflows/terragrunt_plan_dev.yml index c4117cc01..409796d9c 100644 --- a/.github/workflows/terragrunt_plan_dev.yml +++ b/.github/workflows/terragrunt_plan_dev.yml @@ -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: |