abcxyz / guardian

Apache License 2.0
16 stars 1 forks source link

fix: cleanup plan command #396

Closed verbanicm closed 1 month ago

verbanicm commented 1 month ago

Also removed the override env vars from the child process to being passed in by the caller.

/cc @gjonathanhong

github-actions[bot] commented 1 month ago

🔱 Guardian 🔱

Guardian will run for the following directories

Update terraform/project1

Destroy terraform/project2

github-actions[bot] commented 1 month ago

🔱 Guardian 🔱 PLAN (DESTROY) 🟩 SUCCESS [logs]

Entrypoint: terraform/project2

Details ```diff null_resource.empty: Refreshing state... [id=2641332358955168391] Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: - destroy Terraform will perform the following actions: # null_resource.empty will be destroyed - resource "null_resource" "empty" { - id = "2641332358955168391" -> null } Plan: 0 to add, 0 to change, 1 to destroy. ```
github-actions[bot] commented 1 month ago

🔱 Guardian 🔱 APPLY (DESTROY) 🟩 SUCCESS [logs]

Entrypoint: terraform/project2

Details ```diff null_resource.empty: Destroying... [id=2641332358955168391] null_resource.empty: Destruction complete after 0s Apply complete! Resources: 0 added, 0 changed, 1 destroyed. ```
github-actions[bot] commented 1 month ago

🔱 Guardian 🔱 PLAN 🟩 SUCCESS [logs]

Entrypoint: terraform/project1

Details ```diff Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: + create Terraform will perform the following actions: # null_resource.empty will be created + resource "null_resource" "empty" { + id = (known after apply) } Plan: 1 to add, 0 to change, 0 to destroy. ```
github-actions[bot] commented 1 month ago

🔱 Guardian 🔱 APPLY 🟩 SUCCESS [logs]

Entrypoint: terraform/project1

Details ```diff null_resource.empty: Creating... null_resource.empty: Creation complete after 0s [id=2971432592454258787] Apply complete! Resources: 1 added, 0 changed, 0 destroyed. ```