github.com/adamar/terraform@v0.2.2-0.20141016210445-2e703afdad0e/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 --- 6 7 # google\_compute\_network 8 9 Manages a network within GCE. 10 11 ## Example Usage 12 13 ``` 14 resource "google_compute_network" "default" { 15 name = "test" 16 ipv4_range = "10.0.0.0/16" 17 } 18 ``` 19 20 ## Argument Reference 21 22 The following arguments are supported: 23 24 * `name` - (Required) A unique name for the resource, required by GCE. 25 Changing this forces a new resource to be created. 26 27 * `ipv4_range` - (Required) The IPv4 address range that machines in this 28 network are assigned to, represented as a CIDR block. 29 30 ## Attributes Reference 31 32 The following attributes are exported: 33 34 * `name` - The name of the resource. 35 * `ipv4_range` - The CIDR block of this network. 36 * `gateway_ipv4` - The IPv4 address of the gateway.