mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-07-24 18:46:00 +00:00
provider/google: global address + tests & documentation
This commit is contained in:
parent
76ee939e7b
commit
9a8ca4d344
37
r/compute_global_address.html.markdown
Normal file
37
r/compute_global_address.html.markdown
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
---
|
||||||
|
layout: "google"
|
||||||
|
page_title: "Google: google_compute_global_address"
|
||||||
|
sidebar_current: "docs-google-compute-global-address"
|
||||||
|
description: |-
|
||||||
|
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](https://cloud.google.com/compute/docs/instances-and-network) and
|
||||||
|
[API](https://cloud.google.com/compute/docs/reference/latest/globalAddresses).
|
||||||
|
|
||||||
|
|
||||||
|
## 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.
|
Loading…
Reference in New Issue
Block a user