1
votes

Is it is possible to create Policy Tag in Data Catalog for Bigquery Column level security using Terraform . I'm not seeing any resource for policy tag in terraform documentation.

https://www.terraform.io/docs/providers/google/r/data_catalog_entry.html

2
Perhaps you can look into using "google_data_catalog_tag" as it will allow you to attach custom metadata to Data Catalog resources. Tags conform to the specifications within their tag template. terraform.io/docs/providers/google/r/data_catalog_tag.htmlAnthony Leo

2 Answers

1
votes

Managing Policy Tags using Terraform is not yet supported as of today (2020-09-24), but it's being worked on: see https://github.com/hashicorp/terraform-provider-google/issues/6075.

1
votes

As of today (2021-06-15), Policy Tags are supported with the terraform-provider-google-beta provider.

See documentation for google_data_catalog_policy_tag resource.