github.com/hobbeswalsh/terraform@v0.3.7-0.20150619183303-ad17cf55a0fa/website/source/docs/providers/google/r/compute_network.html.markdown (about)

     1  ---
     2  layout: "google"
     3  page_title: "Google: google_compute_network"
     4  sidebar_current: "docs-google-resource-network"
     5  description: |-
     6    Manages a network within GCE.
     7  ---
     8  
     9  # google\_compute\_network
    10  
    11  Manages a network within GCE.
    12  
    13  ## Example Usage
    14  
    15  ```
    16  resource "google_compute_network" "default" {
    17  	name = "test"
    18  	ipv4_range = "10.0.0.0/16"
    19  }
    20  ```
    21  
    22  ## Argument Reference
    23  
    24  The following arguments are supported:
    25  
    26  * `name` - (Required) A unique name for the resource, required by GCE.
    27      Changing this forces a new resource to be created.
    28  
    29  * `ipv4_range` - (Required) The IPv4 address range that machines in this
    30       network are assigned to, represented as a CIDR block.
    31  
    32  ## Attributes Reference
    33  
    34  The following attributes are exported:
    35  
    36  * `name` - The name of the resource.
    37  * `ipv4_range` - The CIDR block of this network.
    38  * `gateway_ipv4` - The IPv4 address of the gateway.