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

Project factory support for Serverless VPC Access connector permissions #1518

Conversation

ChrisF987
Copy link

Proposed project-factory update to support enabling access for Cloud Run, Cloud Functions and App Engine service agents to use Serverless VPC Access connectors that are deployed in a shared vpc host project.

Relates to issue #1517

@google-cla
Copy link

google-cla bot commented Jul 21, 2023

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@juliocc
Copy link
Collaborator

juliocc commented Jul 25, 2023

@ChrisF987 what if you expose the whole shared_vpc_service_config.service_identity_iam as a field in the yaml? This would allow using any service identity and not just the serverless one.

@wiktorn
Copy link
Collaborator

wiktorn commented Jul 29, 2023

Hi @ChrisF987,

I did a bit different implementation of this feature. One thing that I miss, is that you are also granting roles/vpcaccess.user for App Engine Standard robot. I would expect this to be mentioned here but this doc is only mentioning that the role is needed for the user that is doing the deploy. Is this a bug in official docs?

@ChrisF987
Copy link
Author

Hi @ChrisF987,

I did a bit different implementation of this feature. One thing that I miss, is that you are also granting roles/vpcaccess.user for App Engine Standard robot. I would expect this to be mentioned here but this doc is only mentioning that the role is needed for the user that is doing the deploy. Is this a bug in official docs?

Hi @wiktorn @juliocc , thanks for your comments, and for the implementation of service identity iam via your other PR. Re if roles/vpcaccess.user is necessary for App Engine Standard robot, I've reviewed the docs again and yea I just misread it whilst doing this PR.

@ChrisF987
Copy link
Author

Implemented in #1542

@ChrisF987 ChrisF987 closed this Jul 31, 2023
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.

3 participants