Open ghost opened 4 years ago
For me this is a problem with terrform because a linked object is newly created and the linking object should also be deleted first.
@N1tan hey! i recently added the feature to edit display_name on hostgroups to a dependency. I have to make the PR here to update the version and it should be good to go!
This issue was originally opened by @o0Nitan0o as hashicorp/terraform#23571. It was migrated here as a result of the provider split. The original body of the issue is below.
Terraform Version
Terraform Configuration Files
Debug Output
Crash Output
No Crash
Expected Behavior
icinga2_host object must be newly created, because the displayname changes with forceNew.
Actual Behavior
only icinga2_hostgroup will be rebuilt:
Steps to Reproduce
terraform init
terraform apply
terraform apply
Additional Context
icinga2_host Schema:
icinga2_hostgroup Schema:
References
https://github.com/terraform-providers/terraform-provider-icinga2/tree/master/icinga2