feat: Remove Nomad validation step in plan-and-apply workflow

This commit is contained in:
Ben Martin 2024-08-04 12:20:30 +00:00
parent 8b7dc11327
commit cd88bac77d
Signed by: ben
GPG key ID: 859A655FCD290E4A
5 changed files with 35 additions and 29 deletions

View file

@ -45,9 +45,6 @@ jobs:
id: plan
run: terraform plan -out=tfplan
continue-on-error: true
- uses: hashicorp/setup-nomad@main
- name: Nomad Validate
run: terraform show -json tfplan | jq -r '.planned_values.root_module.child_modules[].resources[].values.jobspec' | nomad job validate -json -
- uses: actions/github-script@v7
if: github.event_name == 'pull_request'
env: