Skip to content

Commit

Permalink
Merge branch 'google-pubsub-clean' of github.com:22Acacia/terraform i…
Browse files Browse the repository at this point in the history
…nto google-pubsub-clean
  • Loading branch information
coffeepac committed Nov 20, 2015
2 parents 5d5b8af + 8d67125 commit ec2d9d9
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions builtin/providers/google/resource_pubsub_subscription.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@ func resourcePubsubSubscription() *schema.Resource {
ForceNew: true,
},

"topic_computed": &schema.Schema{
Type: schema.TypeString,
Computed: true,
},

},
}
}
Expand All @@ -39,7 +34,6 @@ func resourcePubsubSubscriptionCreate(d *schema.ResourceData, meta interface{})

name := fmt.Sprintf("projects/%s/subscriptions/%s", config.Project, d.Get("name").(string))
computed_topic_name := fmt.Sprintf("projects/%s/topics/%s", config.Project, d.Get("topic").(string))
d.Set("topic_computed", computed_topic_name)
subscription := &pubsub.Subscription{Topic: computed_topic_name}

call := config.clientPubsub.Projects.Subscriptions.Create(name, subscription)
Expand Down

0 comments on commit ec2d9d9

Please sign in to comment.