github.com/adrian-bl/terraform@v0.7.0-rc2.0.20160705220747-de0a34fc3517/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  ```js
    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  - - -
    32  
    33  * `project` - (Optional) The project in which the resource belongs. If it
    34      is not provided, the provider project is used.
    35  
    36  ## Attributes Reference
    37  
    38  Only the arguments listed above are exposed as attributes.