terraform-provider-google/r/compute_address.html.markdown
Max Riveiro f31cca6ba3 Massively add HCL source tag in docs Markdown files
Signed-off-by: Max Riveiro <kavu13@gmail.com>
2017-04-17 13:17:54 +03:00

1.2 KiB

layout page_title sidebar_current description
google Google: google_compute_address docs-google-compute-address Creates a static IP address resource for Google Compute Engine.

google_compute_address

Creates a static IP address resource for Google Compute Engine. For more information see the official documentation and API.

Example Usage

resource "google_compute_address" "default" {
  name = "test-address"
}

Argument Reference

The following arguments are supported:

  • name - (Required) A unique name for the resource, required by GCE. Changing this forces a new resource to be created.

  • project - (Optional) The project in which the resource belongs. If it is not provided, the provider project is used.

  • region - (Optional) The Region in which the created address should reside. If it is not provided, the provider region is used.

Attributes Reference

In addition to the arguments listed above, the following computed attributes are exported:

  • self_link - The URI of the created resource.
  • address - The IP of the created resource.