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

Management of GCP project default service accounts #844

Merged
merged 3 commits into from
Sep 29, 2022

Conversation

ddaluka
Copy link
Contributor

@ddaluka ddaluka commented Sep 29, 2022

Project module creates default service account for (depending on the services enabled) for compute and app services and provided the Editor role by default . Doc here

To control the high privileged role, we can use terraform resource 'google_project_default_service_accounts'. I have added this resource in project module with an input variable to provide the setting for Keep, Deprivilege, disable or delete.

Copy link
Collaborator

@ludoo ludoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really nice, thanks a lot for this.

modules/project/variables.tf Outdated Show resolved Hide resolved
@ludoo ludoo merged commit 9c2a53f into GoogleCloudPlatform:master Sep 29, 2022
@ludoo
Copy link
Collaborator

ludoo commented Sep 29, 2022

thanks for this, and the speed in doing changes!

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

Successfully merging this pull request may close these issues.

2 participants