change test for cidr by network
This commit is contained in:
parent
b2000ded7c
commit
af8d274163
4
main.tf
4
main.tf
|
@ -1,9 +1,9 @@
|
||||||
data "netbox_prefix" "test" {
|
data "netbox_prefix" "network" {
|
||||||
cidr = var.netbox_prefix
|
cidr = var.netbox_prefix
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "netbox_available_ip_address" "test" {
|
resource "netbox_available_ip_address" "test" {
|
||||||
prefix_id = data.netbox_prefix.test.id
|
prefix_id = data.netbox_prefix.network.id
|
||||||
description = var.name
|
description = var.name
|
||||||
dns_name = var.dns_name
|
dns_name = var.dns_name
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user