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.
╷
│ Error: Cannot determine region: set in this resource, or set provider-level 'region' or 'zone'.
│
│ with module.vertex_endpoints["my-model"].google_vertex_ai_endpoint_iam_policy.policy,
│ on .terraform/modules/vertex_endpoints/vertexai/endpoint_psc/main.tf line 23, in resource "google_vertex_ai_endpoint_iam_policy" "policy":
│ 23: resource "google_vertex_ai_endpoint_iam_policy" "policy" {
│
╵
Then, we tried
replace location with region
set both location and region with the same value
Both gave us:
│ Error: Unsupported argument
│
│ on xxxx/endpoint_psc/main.tf line 29, in resource "google_vertex_ai_endpoint_iam_policy" "policy":
│ 29: region = google_vertex_ai_endpoint.endpoint.location
│
│ An argument named "region" is not expected here.
╵
Debug Output
No response
Expected Behavior
The resource accepts either location or region as the input.
Actual Behavior
TF keeps complaining no matter what region/location I specify.
Steps to reproduce
See above.
Important Factoids
No response
References
No response
b/392108635
The text was updated successfully, but these errors were encountered:
terraform registry specifies the region argument is possible to be set (link here), but even trying to declare it before creation shows the following message:
Unexpected attribute: An attribute named "region" is not expected here
Community Note
Terraform Version & Provider Version(s)
Terraform: v1.5.7
Affected Resource(s)
google_vertex_ai_endpoint_iam_policy
Terraform Configuration
First we tried:
And this gave us:
Then, we tried
location
withregion
location
andregion
with the same valueBoth gave us:
Debug Output
No response
Expected Behavior
The resource accepts either
location
orregion
as the input.Actual Behavior
TF keeps complaining no matter what
region
/location
I specify.Steps to reproduce
See above.
Important Factoids
No response
References
No response
b/392108635
The text was updated successfully, but these errors were encountered: