mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-10-07 03:01:06 +00:00
38 lines
976 B
Markdown
38 lines
976 B
Markdown
---
|
|
layout: "google"
|
|
page_title: "Google: google_compute_address"
|
|
sidebar_current: "docs-google-resource-address"
|
|
description: |-
|
|
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](https://cloud.google.com/compute/docs/instances-and-network) and
|
|
[API](https://cloud.google.com/compute/docs/reference/latest/addresses).
|
|
|
|
|
|
## 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.
|
|
|
|
## 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.
|