terraform-coop / terraform-provider-foreman

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

Can't set host parameters #66

Closed holmesb closed 2 years ago

holmesb commented 2 years ago

Some bug was introduced in last week's refactor host and add managed fields commit. Can no longer set host parameters, ie:

resource "foreman_host" "example" {
  name = "host01"
  parameters = {
    test_param = "test_value"
  }
}

test_param never appears in Host Parameters. image

Probably interests @MrFreezeex Let me know if you need a fuller example. If you build the prior commit (7be9a216) on 26/4, params are created fine.

MrFreezeex commented 2 years ago

Thanks, will look into it.