mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-07-03 08:42:39 +00:00
Add path
to google_pubsub_subscription
The path is used to globally identify a subscription.
This commit is contained in:
parent
522e33f62b
commit
f3c0c30e30
|
@ -38,6 +38,11 @@ func resourcePubsubSubscription() *schema.Resource {
|
|||
ForceNew: true,
|
||||
},
|
||||
|
||||
"path": &schema.Schema{
|
||||
Type: schema.TypeString,
|
||||
Computed: true,
|
||||
},
|
||||
|
||||
"push_config": &schema.Schema{
|
||||
Type: schema.TypeList,
|
||||
Optional: true,
|
||||
|
@ -113,6 +118,7 @@ func resourcePubsubSubscriptionCreate(d *schema.ResourceData, meta interface{})
|
|||
}
|
||||
|
||||
d.SetId(res.Name)
|
||||
d.Set("path", name)
|
||||
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user