github.com/nathanielks/terraform@v0.6.1-0.20170509030759-13e1a62319dc/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  ```hcl
    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  
    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  * `region` - (Optional) The Region in which the created address should reside.
    37      If it is not provided, the provider region is used.
    38  
    39  ## Attributes Reference
    40  
    41  In addition to the arguments listed above, the following computed attributes are
    42  exported:
    43  
    44  * `self_link` - The URI of the created resource.
    45  * `address` - The IP of the created resource.