» gridscale_storage
Get the id of a network resource. This can be used to link networks to a server.
» Example Usage
Using the network datasource for the creation of a server:
resource "gridscale_network" "networkname"{
name = "terraform-network"
}
resource "gridscale_server" "servername"{
name = "terra-server"
cores = 2
memory = 4
network {
object_uuid = "${gridscale_network.networkname.id}"
bootdevice = true
}
}
» Attributes Reference
The following attributes are exported:
-
id
- The UUID of the network.