You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request.
Please do not leave +1 or me too comments, they generate extra noise for issue followers and do not help prioritize the request.
If you are interested in working on this issue or have submitted a pull request, please leave a comment.
If an issue is assigned to a user, that user is claiming responsibility for the issue.
Customers working with a Google Technical Account Manager or Customer Engineer can ask them to reach out internally to expedite investigation and resolution of this issue.
Community Note
Description
Need to be able to set binaryAuthorization with cloudfunctions v2.
https://registry.terraform.io/providers/hashicorp/google/5.45.0/docs/resources/cloudfunctions2_function#argument-reference has no place to set this information.
The CLI has this (https://cloud.google.com/sdk/gcloud/reference/functions/deploy#--binary-authorization).
We have a policy constraint that requires it to be set to Default and this is preventing us from using the terraform to deploy cloudfunctions v2 in our org - we get this error if we try :
│ Error: Error creating function: googleapi: Error 400: Could not create Cloud Run service xxxxxx. Constraint constraints/run.allowedBinaryAuthorizationPolicies violated for attempting CreateService with annotation “run.googleapis.com/binary-authorization” set to null. See 组织政策限制条件 | Resource Manager Documentation | Google Cloud for more information.
(It needs to be explicitly set to default).
New or Affected Resource(s)
Potential Terraform Configuration
References
No response
The text was updated successfully, but these errors were encountered: