You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: delete and recreate stack in ROLLBACK_COMPLETE state (#191)
* fix: delete and recreate stack in ROLLBACK_COMPLETE state (#107)
When a stack is in ROLLBACK_COMPLETE state it cannot be updated. This
change detects that state, deletes the stack, and recreates it via a
new change set.
Closes#107
* docs: add DeleteStack permission and ROLLBACK_COMPLETE recovery docs
Copy file name to clipboardExpand all lines: README.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -243,6 +243,7 @@ This action requires the following minimum set of permissions:
243
243
"cloudformation:CreateChangeSet",
244
244
"cloudformation:DescribeChangeSet",
245
245
"cloudformation:DeleteChangeSet",
246
+
"cloudformation:DeleteStack",
246
247
"cloudformation:ExecuteChangeSet",
247
248
"cloudformation:DescribeEvents"
248
249
],
@@ -281,12 +282,14 @@ The action makes the following AWS CloudFormation API calls depending on the ope
281
282
- `DescribeEvents`- Retrieve detailed error information for validation failures
282
283
- `DeleteChangeSet`- Clean up failed change sets (unless `no-delete-failed-changeset` is set)
283
284
285
+
**ROLLBACK_COMPLETE Recovery:**
286
+
287
+
- `DeleteStack`- Automatically delete stacks stuck in `ROLLBACK_COMPLETE` state before recreating
288
+
284
289
**Event Streaming (during stack operations):**
285
290
286
291
- `DescribeEvents`- Monitor real-time CloudFormation events during deployment
287
292
288
-
> The policy above prevents the stack from being deleted - add `cloudformation:DeleteStack` if deletion is required for your use case
289
-
290
293
## Example
291
294
292
295
You want to run your microservices with [Amazon Elastic Kubernetes Services](https://aws.amazon.com/eks/) and leverage the best-practices to run the cluster? Using this GitHub Action you can customize and deploy the [modular and scalable Amazon EKS architecture](https://aws.amazon.com/quickstart/architecture/amazon-eks/) provided in an AWS Quick Start to your AWS Account. The following workflow enables you to create and update a Kubernetes cluster using a manual workflow trigger.
0 commit comments