Skip to content

Commit

Permalink
Update pubsub topic to read after create
Browse files Browse the repository at this point in the history
  • Loading branch information
danawillow authored and modular-magician committed Nov 13, 2018
1 parent 303e60f commit 12d9726
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion third_party/terraform/resources/resource_pubsub_topic.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 12d9726

Please sign in to comment.