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

feat: add build service account argument #130

Conversation

caetano-colin
Copy link
Contributor

@caetano-colin caetano-colin commented Jun 25, 2024

There are environments in which neither the Cloud Build Service Account nor the Compute Engine Service Account can be used, in these cases the user would need to specify a custom service account for running the builds. Currently the module does not support this argument. This PR adds the fields necessary to externalize the build service account argument.

References:
https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/cloudfunctions2_function#nested_build_config
#129
terraform-google-modules/terraform-example-foundation#1269

@eeaton
Copy link

eeaton commented Jun 25, 2024

@apeabody Can you please trigger CI tests for this? It helps address 1269 in the foundation repo

@apeabody
Copy link
Contributor

/gcbrun

@caetano-colin caetano-colin marked this pull request as ready for review June 25, 2024 16:28
@caetano-colin caetano-colin requested review from prabhu34, gtsorbo and a team as code owners June 25, 2024 16:28
@caetano-colin
Copy link
Contributor Author

caetano-colin commented Jun 25, 2024

Just fixed the variable description, might need the integration build to be triggered again @apeabody

@apeabody
Copy link
Contributor

/gcbrun

@daniel-cit
Copy link
Collaborator

@gtsorbo @prabhu34
Could you PTAL?

Copy link
Collaborator

@prabhu34 prabhu34 left a comment

Choose a reason for hiding this comment

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

LGTM!

@prabhu34 prabhu34 merged commit d17cfa7 into GoogleCloudPlatform:main Jun 26, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants