lord-kyron / terraform-provider-phpipam

Terrform provider for PHPIPAM
https://registry.terraform.io/providers/lord-kyron/phpipam/latest
Apache License 2.0
54 stars 30 forks source link

phpipam_vlan fails if matching vlan number exist in different domain #66

Closed mahsoud closed 1 year ago

mahsoud commented 1 year ago

Noticed that provider creates an entry in IPAM for new VLAN, but fails to validate the change with error:

Error: VLAN search returned either zero or multiple results. Please correct your search and try again

this happens in situations where vlan number is already in ipam under different domain

lord-kyron commented 1 year ago

@pavel-z1 some ideas here?

pavel-z1 commented 1 year ago

I will check this. Possible we will need to create new l2domain controller in the sdk and provider.

lord-kyron commented 1 year ago

Fixed with https://github.com/lord-kyron/terraform-provider-phpipam/pull/68 New version will be released tomorrow.