github.com/nathanielks/terraform@v0.6.1-0.20170509030759-13e1a62319dc/website/source/docs/providers/google/r/compute_global_address.html.markdown (about)

     1  ---
     2  layout: "google"
     3  page_title: "Google: google_compute_global_address"
     4  sidebar_current: "docs-google-compute-global-address"
     5  description: |-
     6    Creates a static global IP address resource for a Google Compute Engine project.
     7  ---
     8  
     9  # google\_compute\_global\_address
    10  
    11  Creates a static IP address resource global to a Google Compute Engine project. For more information see
    12  [the official documentation](https://cloud.google.com/compute/docs/instances-and-network) and
    13  [API](https://cloud.google.com/compute/docs/reference/latest/globalAddresses).
    14  
    15  
    16  ## Example Usage
    17  
    18  ```hcl
    19  resource "google_compute_global_address" "default" {
    20    name = "test-address"
    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 GCE.
    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  In addition to the arguments listed above, the following computed attributes are
    39  exported:
    40  
    41  * `address` - The assigned address.
    42  
    43  * `self_link` - The URI of the created resource.