Closed StizLor closed 1 year ago
Suggestion would be to add ForceNew to true in the schema for sslprofiletype argument. I can create a PR for this later.
Hey @ravager-dk thanks for the PR for this.
Hello @StizLor, this issue is being handeled now. Please use the latest terraform-provider-citrixadc v1.37.0.
Link to the documentation: citrixadc_sslprofile
Thanks Rohit
Bug Report
Describe the bug Changing the "sslprofiletype" of a "citrixadc/sslprofile"-resource will be be recognized by terraform as a change of the resource instead of a replacement.
To Reproduce
create a minimalistic sslprofile-resource
create resource
terraform apply -auto-approve
change sslprofiletype in resource
apply new resource config
terraform apply
before accepting change terraform shows changeswhen changes are accepted an error is shown
Expected behaviour
Changing the "sslprofiletype" within an "citrixadc_sslprofile"-resource should lead to a replacement (destroy current and create anew) of the resource.
Workaround: Run terraform apply with explicit replacement:
terraform apply -replace="citrixadc_sslprofile.test_sslprofile"
Environment (please fill the following information):