layout | page_title | sidebar_current | description |
---|---|---|---|
oneandone |
1&1: oneandone_private_network |
docs-oneandone-resource-private-network |
Creates and manages 1&1 Private Network. |
Manages a Private Network on 1&1
resource "oneandone_private_network" "pn" {
name = "pn_test",
description = "new stuff001"
datacenter = "GB"
network_address = "192.168.7.0"
subnet_mask = "255.255.255.0"
server_ids = [
"${oneandone_server.server.id}",
"${oneandone_server.server02.id}",
]
}
The following arguments are supported:
datacenter
- (Optional) Location of desired 1and1 datacenter. Can beDE
,GB
,US
orES
.description
- (Optional) Description for the shared storagename
- (Required) The name of the private networknetwork_address
- (Optional) Network address for the private networksubnet_mask
- (Optional) Subnet mask for the private networkserver_ids
(Optional) List of servers that are to be associated with the private network