Dynamic type attribute does not work with sets #1008
Labels
bug
Something isn't working
waiting-response
Issues or pull requests waiting for an external response
Module version
Relevant provider source code
resource implementation:
https://github.com/microsoft/terraform-provider-power-platform/blob/main/internal/powerplatform/services/data_record/resource_data_record.go
Terraform Configuration Files
Debug Output
apply.log and plan.log can be found here: https://gist.github.com/mawasile/f61ce8807e1011983b9089f97dba542b
Expected Behavior
We use dynamic type for "columns" attribute and inside that we also allow to create collection of values. if that collection is a list everything is working fine but when we use
toset()
then in terraform plan we get in-place update which is incorrect as nothing had changed. Just by removingtoset
incontact_customer_accounts
from the above example, fixes that issue.Actual Behavior
toset should not generate dirty state when used in dynamic attribute
Steps to Reproduce
terraform apply
terraform plan
=> plan is not emptyThe text was updated successfully, but these errors were encountered: