Clarify note in storage bucket docs about enabling compute api (#2817)

Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
The Magician 2019-01-08 12:31:12 -08:00 committed by emily
parent b31626a1a2
commit c727484c29

View File

@ -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.