google::compute-network

Creates a network.

Example

google::compute-network network-example
    name: "vpc-example"
    description: "vpc-example-desc"
    routing-mode: "GLOBAL"
end

Attributes

Attribute Description
name The name of the network. (Required)
description The description of the network.
routing-mode The routing mode for the network. Valid values are GLOBAL or REGIONAL. (Required)

Outputs

Attribute Description
id The Id of the network.
self-link The fully-qualified URL linking back to the network.