Closed EmAchieng closed 1 month ago
Recent update addresses the issue of orphaned resources by introducing a rollback mechanism. If resource creation fails at any stage, the script now attempts to delete previously created resources, ensuring no orphaned resources remain. This significantly improves the reliability of the resource creation process and avoids unnecessary costs associated with leftover resources.
The changes ensures that failures in the middle of resource creation no longer leave behind orphaned resources, improving overall robustness and cost management.
Description: If resource creation fails midway, the script does not roll back previously created resources, potentially leading to orphaned resources.
Possible Fix: Implement rollback functionality to delete resources if any part of the creation process fails.