From c727484c29b28800167c3c71f14faa6a4f874d8e Mon Sep 17 00:00:00 2001 From: The Magician Date: Tue, 8 Jan 2019 12:31:12 -0800 Subject: [PATCH] Clarify note in storage bucket docs about enabling compute api (#2817) Signed-off-by: Modular Magician --- website/docs/r/storage_bucket.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/r/storage_bucket.html.markdown b/website/docs/r/storage_bucket.html.markdown index c82ec0aa..9baf080d 100644 --- a/website/docs/r/storage_bucket.html.markdown +++ b/website/docs/r/storage_bucket.html.markdown @@ -18,6 +18,7 @@ For more information see and [API](https://cloud.google.com/storage/docs/json_api/v1/buckets). +**Note**: When importing a bucket or using only the default provider project for bucket creation, you will need to enable the Compute API and will otherwise get an error with a link to the API enablement page. If you would prefer not to enable the Compute API, make sure to explicitly set `project` on the bucket resource. ## Example Usage @@ -146,4 +147,3 @@ Storage buckets can be imported using the `name`, e.g. $ terraform import google_storage_bucket.image-store image-store-bucket ``` -Note that when importing a bucket (and only when importing), the Compute API needs to be enabled - you'll see an error with a link to the enablement page if it is not.