GoogleCloudPlatform / GoogleCloudPlatform/deploymentmanager-samples

CFT: Update all Delete actions with mandatory placeholder

Open
#437 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.