terraform-provider-google/r/compute_global_address.html.markdown

1.0 KiB

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

google_compute_global_address

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

Example Usage

resource "google_compute_global_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.

Attributes Reference

The following attributes are exported:

  • name - The name of the resource.
  • address - The IP address that was allocated.
  • self_link - The URI of the created resource.