Closed luisgrac closed 2 years ago
Upon $ cdk destroy, LanguageAnalysis-DataSourceAnalysisNestedStack results in DELETE_FAILED due to event:
$ cdk destroy
DELETE_FAILED
The following resource(s) failed to delete: [ErrorsPipelineECRRepositoryXXXXXXXX, MetricsPipelineECRRepositoryYYYYYYYY].
Because they're resources created outside of CDK and therefore CDK does not have permission or capabilities to delete those.
Please consider using a AWS Lambda-backed custom resource to delete all un-deleted resources from main Stack, as a hotfix.
Thank you,
This is an interesting feature. Will work on it.
Feature implemented.
Upon
$ cdk destroy
, LanguageAnalysis-DataSourceAnalysisNestedStack results inDELETE_FAILED
due to event:Because they're resources created outside of CDK and therefore CDK does not have permission or capabilities to delete those.
Please consider using a AWS Lambda-backed custom resource to delete all un-deleted resources from main Stack, as a hotfix.