Skip to content

terraform workflows

terraform workflows #1

name: Terraform Destroy
on:
push:
branches:
- main
jobs:
terraform_destroy:

Check failure on line 7 in .github/workflows/terraform-destroy.yml

View workflow run for this annotation

GitHub Actions / Terraform Destroy

Invalid workflow file

The workflow is not valid. .github/workflows/terraform-destroy.yml (Line: 7, Col: 3): The workflow must contain at least one job with no dependencies.
runs-on: ubuntu-latest
needs: terraform_apply
steps:
- name: Terraform destroy
run: terraform destroy --auto-approve