fix: add hcloud_network_subnet resource for production network configuration
Some checks failed
Terraform CI/CD / terraform (push) Failing after 18s
Some checks failed
Terraform CI/CD / terraform (push) Failing after 18s
This commit is contained in:
@@ -3,6 +3,13 @@ resource "hcloud_network" "prodnet" {
|
||||
ip_range = "10.0.0.0/16"
|
||||
}
|
||||
|
||||
resource "hcloud_network_subnet" "prodsubnet" {
|
||||
network_id = hcloud_network.prodnet.id
|
||||
type = "cloud"
|
||||
network_zone = "eu-central"
|
||||
ip_range = "10.0.1.0/24"
|
||||
}
|
||||
|
||||
resource "netbox_ip_range" "prodnet" {
|
||||
start_address = "10.0.0.1/16"
|
||||
end_address = "10.0.255.254/16"
|
||||
|
||||
Reference in New Issue
Block a user