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

Set custom fields directly on subnet creation #85

Closed d-costa closed 6 months ago

d-costa commented 9 months ago

Would it be possible to create a subnet and set its custom fields in the same API call? Currently I cannot create subnets if the custom field is required:

Error from API (500): Error: SQLSTATE[HY000]: General error: 1364 Field 'custom_Environment' doesn't have a default value

I'd prefer not to set a default value for this field.