From c9914da1775d8d45de4dba62c2cbe70a4639b619 Mon Sep 17 00:00:00 2001 From: Sam Levenick Date: Fri, 11 Oct 2019 15:53:17 -0700 Subject: [PATCH] Fix binauth policy, bigquery dataset ids --- products/bigquery/terraform.yaml | 1 + products/binaryauthorization/terraform.yaml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/products/bigquery/terraform.yaml b/products/bigquery/terraform.yaml index 4a5f80e58493..4fcf4d7b766e 100644 --- a/products/bigquery/terraform.yaml +++ b/products/bigquery/terraform.yaml @@ -15,6 +15,7 @@ legacy_name: 'bigquery' overrides: !ruby/object:Overrides::ResourceOverrides Dataset: !ruby/object:Overrides::Terraform::ResourceOverride + import_format: ["projects/{{project}}/datasets/{{dataset_id}}"] delete_url: projects/{{project}}/datasets/{{dataset_id}}?deleteContents={{delete_contents_on_destroy}} examples: - !ruby/object:Provider::Terraform::Examples diff --git a/products/binaryauthorization/terraform.yaml b/products/binaryauthorization/terraform.yaml index 64033a8a9138..7408351a5dc7 100644 --- a/products/binaryauthorization/terraform.yaml +++ b/products/binaryauthorization/terraform.yaml @@ -53,6 +53,8 @@ overrides: !ruby/object:Overrides::ResourceOverrides attestationAuthorityNote.publicKeys.id: !ruby/object:Overrides::Terraform::PropertyOverride default_from_api: true Policy: !ruby/object:Overrides::Terraform::ResourceOverride + id_format: "projects/{{project}}" + import_format: ["projects/{{project}}"] custom_code: !ruby/object:Provider::Terraform::CustomCode constants: 'templates/terraform/constants/binaryauthorization_policy.erb' pre_delete: 'templates/terraform/pre_delete/restore_default_binaryauthorization_policy.erb'