You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for opening an issue. Please note that we try to keep the Terraform issue tracker reserved for bug reports and feature requests. For general usage questions, please see: https://www.terraform.io/community.html.
Terraform Version
Terraform v1.5.4
Affected Resource(s)
harness_platform_feature_flag_target_group
If this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this.
Hi there,
Thank you for opening an issue. Please note that we try to keep the Terraform issue tracker reserved for bug reports and feature requests. For general usage questions, please see: https://www.terraform.io/community.html.
Terraform Version
Terraform v1.5.4
Affected Resource(s)
harness_platform_feature_flag_target_group
If this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this.
Terraform Configuration Files
Debug Output
Behavior Issue
Panic Output
Expected Behavior
Targets get updated without replacing Target Group. This should mimic the behavior in the Harness API, which supports a PATCH in-place. https://apidocs.harness.io/tag/Target-Groups#operation/PatchSegment
Actual Behavior
Terraform Provider performs a require replacement = true.
Steps to Reproduce
Important Factoids
Terraform forces a replacement of the target group. This fails because you cannot delete a Target Group if it's linked to a feature flag.
The current workaround is to use the Harness API to PATCH the target group with updates to the include or exclude list.
References
The text was updated successfully, but these errors were encountered: