From b0d9ba491f849eacfe4470c225d165165bd5f9a3 Mon Sep 17 00:00:00 2001 From: Modular Magician Date: Tue, 14 Nov 2023 23:45:49 +0000 Subject: [PATCH] fix TestAccFirebaseWebApp_firebaseWebAppFull (#9251) [upstream:c6f618374c6d078acb14a80f2723ee58df292cf6] Signed-off-by: Modular Magician --- .changelog/9251.txt | 3 +++ .../firebase/resource_firebase_web_app_test.go | 14 +------------- 2 files changed, 4 insertions(+), 13 deletions(-) create mode 100644 .changelog/9251.txt diff --git a/.changelog/9251.txt b/.changelog/9251.txt new file mode 100644 index 0000000000..8ec013c069 --- /dev/null +++ b/.changelog/9251.txt @@ -0,0 +1,3 @@ +```release-note:none + +``` diff --git a/google-beta/services/firebase/resource_firebase_web_app_test.go b/google-beta/services/firebase/resource_firebase_web_app_test.go index 78556ffcdc..7cfec897bd 100644 --- a/google-beta/services/firebase/resource_firebase_web_app_test.go +++ b/google-beta/services/firebase/resource_firebase_web_app_test.go @@ -66,25 +66,13 @@ resource "google_apikeys_key" "key1" { name = "tf-test-api-key1%{random_suffix}" display_name = "Test api key 1" project = "%{project_id}" - - restrictions { - browser_key_restrictions { - allowed_referrers = ["*"] - } - } } resource "google_apikeys_key" "key2" { provider = google-beta name = "tf-test-api-key2%{random_suffix}" display_name = "Test api key 2" - project = google_project.default.project_id - - restrictions { - browser_key_restrictions { - allowed_referrers = ["*"] - } - } + project = "%{project_id}" } resource "google_firebase_web_app" "default" {