8000 Allow OpenTofu changes and report creations and deletions on PRs by clee231 · Pull Request #210 · acm-uic/IaC · GitHub
[go: up one dir, main page]

Skip to content

Allow OpenTofu changes and report creations and deletions on PRs - #210

Merged
clee231 merged 1 commit into
mainfrom
feature/tofu-apply-fixes
Oct 20, 2026
Merged

clee231 merged 1 commit into
mainfrom
feature/tofu-apply-fixes

Conversation

@clee231
@clee231 clee231 commented Oct 20, 2026 •
Copy link
Copy Markdown
Contributor

The Maid Café workflows currently reject plans that create, delete, replace, forget, or change the identity of guests unless they match a hardcoded exception. This prevents ordinary changes such as adding the new K8s VMs from being deployed.

Replace that policy with informational plan summaries and remove all 55 prevent_destroy guards from the active stack and disabled guest templates. PR plans with creations or deletions now create or update a single bot comment containing resource addresses, actions, counts, the PR head SHA, and a workflow-run link. Replacements count as both creation and deletion; later plans clear outdated warnings. Comment delivery failures do not fail the job, and raw plan values are never published in comments.

Apply remains manual and uses the exact saved plan. Existing Proxmox deletion protection and provider constraints still apply.

Validation:

  • 7 Python plan-summary tests and 6 Node comment tests pass.
  • OpenTofu formatting and git diff --check pass.
  • Actionlint passes with the existing custom runner label and deprecated azure/login@v1 diagnostics excluded.
  • No production plan or apply was run.

@clee231
clee231 merged commit 866d2e6 into main Oct 20, 2026
2 checks passed
@clee231
clee231 deleted the feature/tofu-apply-fixes branch October 20, 2026 04:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0