-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
The provider hashicorp/google does not support resource type β "google_vertex_ai_endpoint_iam_member". #18388
Comments
Hi @MoeAlkhalkhali ! I detected a bad configuration in your code, trying to reproduce this issue I got no errors with the terraform and Google providers following the configuration of terraform registry. The bad configuration I noticed is that you are using an invalid value for the
|
Hi @ggtisc, I've hardcoded the endpoint name and tried the endpoint id, issue is still present. The error is pretty specific The provider hashicorp/google does not support resource type "google_vertex_ai_endpoint_iam_member". |
This looks more like troubleshooting than a bug, because after some tries the result again is successful and without errors. Have you applied the suggested configuration and checked the official documentation links to verify that you have everything correct? I noticed also that you are using a custom role and this is other thing that you need to check here |
Hi @ggtisc, resource "google_service_networking_connection" "vertex_vpc_connection" { resource "google_compute_global_address" "vertex_range" { resource "google_compute_network" "vertex_network" { resource "google_kms_crypto_key_iam_member" "crypto_key" { data "google_project" "project" {} resource "google_vertex_ai_endpoint_iam_member" "member" { |
Looking into the repository it looks like there is no codefor the google_vertex_ai_endpoint_iam_member https://github.com/hashicorp/terraform-provider-google/tree/main/google/services/vertexai |
Confirmed issue! Using both provider versions together as in terraform registry causes the following error:
It just can be avoided with this configuration:
But according to the documentation it should work with both configurations. |
Hi @ggtisc , |
I have the same issue. I have explicitly fixed provider version (version = "5.33.0"). However I'm getting the same error:
|
Community Note
Terraform Version & Provider Version(s)
Terraform v1.7.3
on Linux
Affected Resource(s)
google_vertex_ai_endpoint_iam_member
Terraform Configuration
Debug Output
https://gist.github.com/MoeAlkhalkhali/e6f18abff6005cb898eefbe8ebf0d2ae
Expected Behavior
Should be able add an iam member to an endpoint
Actual Behavior
Failing to get resource from the provider
Steps to reproduce
terraform { required_providers { google = { source = "hashicorp/google" version = "~> 5.33.0" } } } provider "google" { project = "XXXXXXXX" } provider "google-beta" { project = "XXXXXXXX" } resource "google_vertex_ai_endpoint_iam_member" "member" { project = "XXXXXXXX" location = "australia-souteast1" endpoint = "dummy" role = "roles/aiplatform.user" member = "XXXXXXXX" }
Important Factoids
No response
References
No response
b/346928090
The text was updated successfully, but these errors were encountered: