ability to revert the detected drift to last approved plan (in case of manual approval for apply) #1043
Unanswered
navpreet-securitas
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
if we implement manual apply by providing like
approvalPlan: plan-main-ade71460bd
, controller is still able to detect drift/manual changes made in underlying managed resources from az portal etc.then it creates new plan like
pending: plan-main-199b2c7c1b
and waits for manual approval, to revert back drift/manual changes.@chanwit : would like to know if there is possibility from controller end, that it automatically revert back the detected drift to last state which was applied via
approvalPlan: plan-main-ade71460bd
, instead of creating new plan.In this way we can have manual approval for new changes for production environment via terraform and still allowing auto revert for manual/accidental changes made via az portal etc(kind of enforcing last approved state/plan in GitOps way).
Beta Was this translation helpful? Give feedback.
All reactions