GoogleCloudPlatform / GoogleCloudPlatform/deploymentmanager-samples
CFT: Update all Delete actions with mandatory placeholder
Open
cloud-foundations
Feature Request
- Dominant language
- Jinja
- Stars
- 951
- Forks
- 700
- PR merge metrics
- No merged PRs in 30d
Description
Resources like the Project Template/ Delete default SA action has a runtimePolicy: Create. This works well until the resource itself is not deleted/abandoned from the Deployment.
For example if removeDefaultSA property gets set to false and then back to true, the is a resource not found error.
To solve this, I propose to create a placeholder resource and make sure the delete action only runs once, no matter how the inputs are changing.
Contributor guide
Assessment
This issue has not been assessed yet.