Open
Description
Community Note
- 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.
Terraform Version & Provider Version(s)
Terraform vX.X.X
on
- provider registry.terraform.io/hashicorp/google v6.14.1
- provider registry.terraform.io/hashicorp/google-beta vX.X.X
Affected Resource(s)
google_bigquery_routine
Terraform Configuration
Example shows:
resource "google_bigquery_routine" "sproc" {
dataset_id = google_bigquery_dataset.test.dataset_id
routine_id = "routine_id"
routine_type = "SCALAR_FUNCTION"
language = "JAVASCRIPT"
definition_body = "CREATE FUNCTION multiplyInputs return x*y;"
arguments {
name = "x"
data_type = "{\"typeKind\" : \"FLOAT64\"}"
}
arguments {
name = "y"
data_type = "{\"typeKind\" : \"FLOAT64\"}"
}
return_type = "{\"typeKind\" : \"FLOAT64\"}"
}
The definition body should be just x*y
, routine_id - multiply_inputs
. Similar issue with several other examples.
Debug Output
No response
Expected Behavior
No response
Actual Behavior
No response
Steps to reproduce
terraform apply
Important Factoids
No response
References
No response
b/386816849