mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-10-06 10:41:07 +00:00
Save name-only instead of link path in pubsub_topic (#424)
This commit is contained in:
parent
a9a2428a60
commit
870f456ef9
@ -66,7 +66,7 @@ func resourcePubsubTopicRead(d *schema.ResourceData, meta interface{}) error {
|
|||||||
return handleNotFoundError(err, d, fmt.Sprintf("Pubsub Topic %q", name))
|
return handleNotFoundError(err, d, fmt.Sprintf("Pubsub Topic %q", name))
|
||||||
}
|
}
|
||||||
|
|
||||||
d.Set("name", res.Name)
|
d.Set("name", GetResourceNameFromSelfLink(res.Name))
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user