Skip to content

Support google_biglake_hive_database resource #27933

Description

@holjen

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.

Description

biglake.googleapis.com provides an implementation of the Hive metastore on Google Cloud. Details see https://docs.cloud.google.com/lakehouse/docs/about-spark-hive-metastore.

This product is in public preview and needs implementation in Google Terraform provider to support creation of Hive databases.

New or Affected Resource(s)

  • google_biglake_hive_database

Potential Terraform Configuration

resource "google_storage_bucket" "bucket" {
  name          = "{{index $.ResourceIdVars "bucket_name"}}"
  location      = "us-central1"
  force_destroy = true
  uniform_bucket_level_access = true
}

resource "google_biglake_hive_catalog" "catalog" {
  name             = "tf_test_catalog%{random_suffix}"
  primary_location = "us-central1"
  location_uri     = "gs://${google_storage_bucket.bucket.name}"
}

resource "google_biglake_hive_database" "{{$.PrimaryResourceId}}" {
  catalog      = google_biglake_hive_catalog.catalog.name
  name         = "tf_test_database%{random_suffix}"
  location_uri = "gs://${google_storage_bucket.bucket.name}"
  
  parameters = {{index $.Vars "parameters"}}

  description = "{{index $.Vars "description"}}"
}

References

b/487744526

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions