github.com/turtlemonvh/terraform@v0.6.9-0.20151204001754-8e40b6b855e8/website/source/docs/providers/google/r/pubsub_topic.html.markdown (about) 1 --- 2 layout: "google" 3 page_title: "Google: google_pubsub_topic" 4 sidebar_current: "docs-google-pubsub-topic" 5 description: |- 6 Creates a topic in Google's pubsub queueing system 7 --- 8 9 # google\_pubsub\_topic 10 11 Creates a topic in Google's pubsub queueing system. For more information see 12 [the official documentation](https://cloud.google.com/pubsub/docs) and 13 [API](https://cloud.google.com/pubsub/reference/rest/v1/projects.topics). 14 15 16 ## Example Usage 17 18 ``` 19 resource "google_pubsub_topic" "default" { 20 name = "default-topic" 21 } 22 ``` 23 24 ## Argument Reference 25 26 The following arguments are supported: 27 28 * `name` - (Required) A unique name for the resource, required by pubsub. 29 Changing this forces a new resource to be created. 30 31 ## Attributes Reference 32 33 The following attributes are exported: 34 35 * `name` - The name of the resource.