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

host: fix delete host when a host is imported #86

Closed MrFreezeex closed 2 years ago

MrFreezeex commented 2 years ago

If a host is imported retry_count would be 0 and you then try to destro it (or change any argument with a forcenew) then the destroy will fail.

Signed-off-by: Arthur Outhenin-Chalandre arthur.outhenin-chalandre@cern.ch