From 51e547abc23f6cdeb2e73364344220f038d5aa95 Mon Sep 17 00:00:00 2001 From: Samuel Mutel <12967891+smutel@users.noreply.github.com> Date: Mon, 28 Nov 2022 13:35:35 +0100 Subject: [PATCH] fix: Workaround in ASN resource for 386 arch --- netbox/ipam/resource_netbox_ipam_asn.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox/ipam/resource_netbox_ipam_asn.go b/netbox/ipam/resource_netbox_ipam_asn.go index a755e201b..6b48ecf66 100644 --- a/netbox/ipam/resource_netbox_ipam_asn.go +++ b/netbox/ipam/resource_netbox_ipam_asn.go @@ -32,7 +32,7 @@ func ResourceNetboxIpamASN() *schema.Resource { "asn": { Type: schema.TypeInt, Required: true, - ValidateFunc: validation.IntBetween(1, 4294967295), + ValidateFunc: validation.IntAtLeast(1), Description: "The asn number of this asn (ipam module).", }, "content_type": {