From 8da6d3b181ef96a25c3643bde1d4eeed3bdcc495 Mon Sep 17 00:00:00 2001 From: The Magician Date: Tue, 13 Nov 2018 15:44:46 -0800 Subject: [PATCH] Update pubsub topic to read after create, same as TPG #2346 (#2469) /cc @danawillow --- google/resource_pubsub_topic.go | 2 +- website/docs/r/storage_bucket.html.markdown | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/google/resource_pubsub_topic.go b/google/resource_pubsub_topic.go index dc625595..8d44a3b0 100644 --- a/google/resource_pubsub_topic.go +++ b/google/resource_pubsub_topic.go @@ -55,7 +55,7 @@ func resourcePubsubTopicCreate(d *schema.ResourceData, meta interface{}) error { d.SetId(res.Name) - return nil + return resourcePubsubTopicRead(d, meta) } func resourcePubsubTopicRead(d *schema.ResourceData, meta interface{}) error { diff --git a/website/docs/r/storage_bucket.html.markdown b/website/docs/r/storage_bucket.html.markdown index 548a38d9..29b46fdf 100644 --- a/website/docs/r/storage_bucket.html.markdown +++ b/website/docs/r/storage_bucket.html.markdown @@ -10,7 +10,7 @@ description: |- Creates a new bucket in Google cloud storage service (GCS). Once a bucket has been created, its location can't be changed. -[ACLs](https://cloud.google.com/storage/docs/access-control/lists) can be applied using the [`google_storage_bucket_acl` resource](/docs/providers/google/r/storage_bucket_acl.html). +[ACLs](https://cloud.google.com/storage/docs/access-control/lists) can be applied using the `google_storage_bucket_acl` resource. For more information see [the official documentation](https://cloud.google.com/storage/docs/overview) and