Skip to content

cannot import google_data_catalog_taxonomy #13307

@bakuljajan

Description

@bakuljajan

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 the modular-magician user, it is either in the process of being autogenerated, or is planned to be autogenerated soon. If an issue is assigned to a user, that user is claiming responsibility for the issue. If an issue is assigned to hashibot, a community member has claimed the issue already.

Terraform Version

Terraform v1.3.6
on darwin_arm64

  • provider registry.terraform.io/hashicorp/google-beta v4.46.0

Affected Resource(s)

  • google_data_catalog_taxonomy

Terraform Configuration Files

resource "google_data_catalog_taxonomy" "this" {
  provider               = google-beta
  region                 = "asia-southeast2"
  project                = GCP_PROJECT_ID
  display_name           = "Confidentiality"
  activated_policy_types = ["FINE_GRAINED_ACCESS_CONTROL"]
}
terraform import 'google_data_catalog_taxonomy.this' 'projects/GCP_PROJECT_ID/locations/asia-southeast2/taxonomies/7317744211956907xxx'

Debug Output

https://gist.github.com/bakuljajan/24319f7df8ac557cd97e885df11c95a6

Panic Output

Expected Behavior

terraform state successfully imported

Actual Behavior

error stating fetching project for Taxonomy: project: required field is not set

╷
│ Error: Error fetching project for Taxonomy: project: required field is not set
│ 
│ 
╵

Steps to Reproduce

  1. terraform import 'google_data_catalog_taxonomy.this' 'projects/GCP_PROJECT_ID/locations/asia-southeast2/taxonomies/7317744211956907xxx'

Important Factoids

References

  • #0000

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions