Automatically Healing CloudFormation Drift with Durable Functions
AWS introduced drift-aware change sets in November 2025, enabling automatic detection and repair of configuration drift in CloudFormation stacks. Durable Functions can be used to orchestrate the asynchronous workflow of drift detection and remediation. This approach simplifies state management and improves reliability compared to using standard Lambda functions.
- ▪AWS updated CloudFormation in November 2025 to support drift-aware change sets for automatic drift remediation.
- ▪Drift-aware change sets can be created using the --deployment-mode REVERT_DRIFT option to revert infrastructure to its defined state.
- ▪Durable Functions simplify the orchestration of asynchronous operations like drift detection and change set execution.
- ▪The solution involves detecting drift, creating a drift-aware change set, and applying it to restore configuration compliance.
- ▪A sample implementation uses AWS Lambda, SSM parameters, and Durable Functions to automate the healing process.
Opening excerpt (first ~120 words) tap to expand
try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 3830337) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } ほうき星 for AWS Community Builders Posted on May 17 • Originally published at qiita.com Automatically Healing CloudFormation Drift with Durable Functions #aws #lambda #cloudformation This article is a machine translation of the contents of the following URL, which I wrote in Japanese: Durable Functions を用いて CloudFormation のドリフトを自動修復する #AWS - Qiita はじめに こんにちは、ほうき星 @H0ukiStar です。 皆さんは昨年(2025年)の11月に CloudFormation がアップデートされ、ドリフト状態の修正に利用可能なドリフト認識変更セットが追加されたことをご存じでしょうか? 本機能の登場以前は、ドリフ...
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).