change test for cidr by network

This commit is contained in:
Nicolas Boufidjeline 2022-06-29 22:32:51 +02:00
parent b2000ded7c
commit af8d274163
No known key found for this signature in database
GPG Key ID: 8DC009DF411D3BE1

View File

@ -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
} }