Skip to content

feat: add build service account argument - #130

Merged
prabhu34 merged 4 commits into
GoogleCloudPlatform:mainfrom
caetano-colin:feature/build-service-account-arg
Jun 26, 2024
Merged

feat: add build service account argument#130
prabhu34 merged 4 commits into
GoogleCloudPlatform:mainfrom
caetano-colin:feature/build-service-account-arg

Conversation

@caetano-colin

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

Copy link
Copy Markdown
Contributor

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

eeaton commented Jun 25, 2024

Copy link
Copy Markdown
Contributor

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

@apeabody

Copy link
Copy Markdown
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 a team, gtsorbo and prabhu34 as code owners June 25, 2024 16:28
@caetano-colin

caetano-colin commented Jun 25, 2024

Copy link
Copy Markdown
Contributor Author

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

@apeabody

Copy link
Copy Markdown
Contributor

/gcbrun

@daniel-cit

Copy link
Copy Markdown
Collaborator

@gtsorbo @prabhu34
Could you PTAL?

@prabhu34 prabhu34 left a comment

Copy link
Copy Markdown
Collaborator

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
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.

5 participants