Example example
Network resources allow you to create isolated networks for your resources. There is no limit to the number of Network resources you can create, the only limitation is that they must not have overlapping subnets.
Properties
- Name
subnet
- Type
- (string: "")
- Required
- required
- Readonly
- Description
Subnet to use for the network, must not overlap any other existing networks.
Meta Properties
In addition to the main properties, all resources have meta
properties, such
as the id
of the resource. To see the list of these properties please see the
Meta Properties
section in the documentation /docs/resources/meta.
Examples
Example 1
resource "network" "local" {
subnet = "10.10.0.0/16"
}