-
Notifications
You must be signed in to change notification settings - Fork 64
feat(TPG>=5.39)!: Added build_service_account argument for google_cloudfunctions_function #263
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
base: main
Are you sure you want to change the base?
Conversation
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. |
/gcbrun |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution @maaaaaarkova!
@@ -125,6 +125,12 @@ variable "service_account_email" { | |||
description = "The service account to run the function as." | |||
} | |||
|
|||
variable "build_service_account" { | |||
type = string | |||
default = "" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As google_cloudfunctions_function. build_service_account
is optional, let's use a default of null
.
default = "" | |
default = null |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After making the change, please run make docker_generate_docs
and include in your commit.
Added build_service_account argument for google_cloudfunctions_function to be able to specify the service account for function building process.
Refer to https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/cloudfunctions_function#:~:text=build_service_account%20%2D%20(Optional)%20If%20provided%2C%20the%20self%2Dprovided%20service%20account%20to%20use%20to%20build%20the%20function.%20The%20format%20of%20this%20field%20is%20projects/%7Bproject%7D/serviceAccounts/%7BserviceAccountEmail%7D
Additional request to enable customization for this argument.
PR: #256