diff --git a/.changelog/9810.txt b/.changelog/9810.txt new file mode 100644 index 00000000000..8ec013c0699 --- /dev/null +++ b/.changelog/9810.txt @@ -0,0 +1,3 @@ +```release-note:none + +``` diff --git a/google/services/storageinsights/resource_storage_insights_report_config_generated_test.go b/google/services/storageinsights/resource_storage_insights_report_config_generated_test.go index 64e0279f919..b1a2c6076c3 100644 --- a/google/services/storageinsights/resource_storage_insights_report_config_generated_test.go +++ b/google/services/storageinsights/resource_storage_insights_report_config_generated_test.go @@ -91,6 +91,10 @@ resource "google_storage_insights_report_config" "config" { destination_path = "test-insights-reports" } } + + depends_on = [ + google_storage_bucket_iam_member.admin + ] } resource "google_storage_bucket" "report_bucket" { diff --git a/website/docs/r/storage_insights_report_config.html.markdown b/website/docs/r/storage_insights_report_config.html.markdown index ab2824ef3aa..b110fad15b9 100644 --- a/website/docs/r/storage_insights_report_config.html.markdown +++ b/website/docs/r/storage_insights_report_config.html.markdown @@ -71,6 +71,10 @@ resource "google_storage_insights_report_config" "config" { destination_path = "test-insights-reports" } } + + depends_on = [ + google_storage_bucket_iam_member.admin + ] } resource "google_storage_bucket" "report_bucket" {