initial terraform code
This commit is contained in:
13
network.tf
Normal file
13
network.tf
Normal file
@@ -0,0 +1,13 @@
|
||||
# Hetzner Cloud Networks
|
||||
|
||||
resource "hcloud_network" "vpc" {
|
||||
name = "VPC"
|
||||
ip_range = "10.0.0.0/24"
|
||||
}
|
||||
|
||||
resource "hcloud_network_subnet" "subnet" {
|
||||
type = "cloud"
|
||||
network_id = hcloud_network.vpc.id
|
||||
network_zone = "eu-central"
|
||||
ip_range = "10.0.0.0/24"
|
||||
}
|
||||
Reference in New Issue
Block a user