Skip to content

Commit

Permalink
update BigqueryDatapolicy to ga (#6797) (#381)
Browse files Browse the repository at this point in the history
Signed-off-by: Modular Magician <magic-modules@google.com>
  • Loading branch information
modular-magician authored Mar 14, 2023
1 parent 706bbeb commit 4a6222c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions bigquery_datapolicy_data_policy_basic/main.tf
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
resource "google_bigquery_datapolicy_data_policy" "data_policy" {
provider = google-beta
location = "us-central1"
data_policy_id = "data_policy-${local.name_suffix}"
policy_tag = google_data_catalog_policy_tag.policy_tag.name
data_policy_type = "COLUMN_LEVEL_SECURITY_POLICY"
}

resource "google_data_catalog_policy_tag" "policy_tag" {
provider = google-beta
taxonomy = google_data_catalog_taxonomy.taxonomy.id
display_name = "Low security"
description = "A policy tag normally associated with low security items"
}

resource "google_data_catalog_taxonomy" "taxonomy" {
provider = google-beta
region = "us-central1"
display_name = "taxonomy-${local.name_suffix}"
description = "A collection of policy tags"
Expand Down

0 comments on commit 4a6222c

Please sign in to comment.