Skip to content
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

google_vertex_ai_featurestore_entitytype: Cannot determine region: set in this resource, or set provider-level 'region' or 'zone' #10100

Labels

Comments

@jefersonrjrn
Copy link

Terraform Version

Terraform 1.0.3

Affected Resource(s)

  • google_vertex_ai_featurestore_entitytype

Terraform Configuration Files

resource "google_vertex_ai_featurestore" "featurestore" {
  provider = google-beta

  name     = "featurestore${var.environment}"
  project = var.project
  region   = "us-east1"
  online_serving_config {
    fixed_node_count = var.fixed_node_count
  }
}

resource "google_vertex_ai_featurestore_entitytype" "entity" {
  provider = google-beta

  name     = var.entity_type_id
  featurestore = google_vertex_ai_featurestore.featurestore.id
}

Debug Output

image

Panic Output

Expected Behavior

Created a new Entity Type resource.

Actual Behavior

The Entity Type resource cannot be created.

Steps to Reproduce

  1. terraform apply

Additional information

In Terraform Registry for the google_vertex_ai_featurestore_entitytype there is no arguments to input a region.
Reference: https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/vertex_ai_featurestore_entitytype

@imrannayer
Copy link

Seems like google_vertex_ai_featurestore_entitytype is missing region parameter. Adding parameter to provider works fine but it is not a desirable way of deploying resource.

@github-actions
Copy link

github-actions bot commented Dec 8, 2022

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.