diff --git a/examples/resources/netbox_ipam_rir/import.sh b/examples/resources/netbox_ipam_rir/import.sh new file mode 100644 index 000000000..741dc9947 --- /dev/null +++ b/examples/resources/netbox_ipam_rir/import.sh @@ -0,0 +1,2 @@ +# RIRs can be imported by id +terraform import netbox_ipam_rir.rir_test 1 diff --git a/netbox/ipam/resource_netbox_ipam_rir.go b/netbox/ipam/resource_netbox_ipam_rir.go index 6abafe12a..49dfa0e7d 100644 --- a/netbox/ipam/resource_netbox_ipam_rir.go +++ b/netbox/ipam/resource_netbox_ipam_rir.go @@ -90,7 +90,7 @@ var rirRequiredFields = []string{ "last_updated", "name", "slug", - "tag", + "tags", } func resourceNetboxIpamRIRCreate(ctx context.Context, d *schema.ResourceData,