I have setup terraform for AWS infrastructure but was not able to set a workflow where I can trigger destroying of the infrastructure created using Terraform Plan/Apply.
Can a github action be triggered manually without code being pushed or pull request being created?
I don't want to register a workspace on hashicorp and want to run the pipelines on Github Actions itself.
There is this resource for destroying infrastructure but it only works on Pull request close.
[Re-run jobs]
that you can use to trigger it manually ... is that what you are looking for? – Helder SepulvedaPlan fails if the resource already exist
that will happen only if someone manually created the resource, running aterraform destroy
will not "fix" those errors – Helder Sepulveda