terraform-coop / terraform-provider-foreman

Terraform provider for Foreman
https://registry.terraform.io/providers/terraform-coop/foreman
Mozilla Public License 2.0
33 stars 31 forks source link

Add omitempty to int parameters of hostgroups #38

Closed covert8 closed 3 years ago

covert8 commented 3 years ago

Like in #36 value's which are allowed to be nil/null are being send as 0. Added omitempty to all variables of type int which are allowed nil/null by foreman https://apidocs.theforeman.org/foreman/2.0/apidoc/v2/hostgroups/create.html