Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GCP Deployment Manager needs to delete IAM roles when DM is deleted #910

Closed
jlewi opened this issue Jun 1, 2018 · 1 comment
Closed

Comments

@jlewi
Copy link
Contributor

jlewi commented Jun 1, 2018

Our deployment manager configs for GCP create service accounts and IAM roles.

When the deployment is deleted we delete the service accounts but the roles persist.

To fix this we may need to add actions to remove the roles but we need to execute it only on delete.

@jlewi
Copy link
Contributor Author

jlewi commented Jun 8, 2018

I think we can deal with this by adding actions to remove the roles and setting runtimePolicy to DELETE.
https://github.com/GoogleCloudPlatform/deploymentmanager-samples/tree/master/examples/v2/cloudbuild

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant