Closed verbanicm closed 3 weeks ago
Guardian will run for the following directories
Update terraform/project1
Destroy terraform/project2
PLAN (DESTROY)
🟩 SUCCESS
[logs]Entrypoint: terraform/project2
APPLY (DESTROY)
🟩 SUCCESS
[logs]Entrypoint: terraform/project2
PLAN
🟩 SUCCESS
[logs]Entrypoint: terraform/project1
APPLY
🟩 SUCCESS
[logs]Entrypoint: terraform/project1
Guardian shouldn't care if a directory was removed for destroy, there could be a case where we want to just destroy the resources and then run an apply for a clean slate.
Rather the modifier content will be used to determine a destroy phase using the base branch from a pull request and
HEAD~1
frommain
for apply on push.