github.com/jmbataller/terraform@v0.6.8-0.20151125192640-b7a12e3a580c/website/source/docs/providers/google/r/compute_address.html.markdown (about)

     1  ---
     2  layout: "google"
     3  page_title: "Google: google_compute_address"
     4  sidebar_current: "docs-google-compute-address"
     5  description: |-
     6    Creates a static IP address resource for Google Compute Engine.
     7  ---
     8  
     9  # google\_compute\_address
    10  
    11  Creates a static IP address resource for Google Compute Engine.  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/addresses).
    14  
    15  
    16  ## Example Usage
    17  
    18  ```
    19  resource "google_compute_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  * `region` - (Optional) The Region in which the created address should reside. 
    31      If it is not provided, the provider region is used. 
    32  
    33  ## Attributes Reference
    34  
    35  The following attributes are exported:
    36  
    37  * `name` - The name of the resource.
    38  * `address` - The IP address that was allocated.
    39  * `self_link` - The URI of the created resource.
    40  * `region` - The Region in which the created address does reside.