Open gramsa49 opened 1 year ago
something seems to be clobbering control_ids
during the Delete()
phase that happens when the control association is getting recreated. this comes up empty, so you only get the securitySubCategoriesToRemove
in the UpdateControlsInput
struct when the request goes out to Wiz's API.
this fix worked for us: https://github.com/AxtonGrams/terraform-provider-wiz/pull/163
Terraform Version and Provider Version
Terraform v1.3.3 terraform-provider-wiz v1.0.7
Affected Resource(s)
Terraform Configuration Files
Use any Wiz managed control with a custom security sub-category.
Debug Output
Expected Behavior
Should be able to both define and destroy security sub-category/control associations.
Actual Behavior
Error returned
Community Note