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
{{ message }}
This repository has been archived by the owner on Jul 3, 2023. It is now read-only.
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Terraform Version
Terraform v0.14.11
PingFederate
pingidentity/pingfederate:9.3.3-edge
Affected Resource(s)
pingfederate_authentication_policies
pingfederate_authentication_selector
A PingFederate authentication policy has been created that includes a selector, adapter and sp connection. These resource are created by using a terraform loop for_each, iterating over a list of strings.
If one of the string is removed from the list of strings, triggering a destroy of those resources, terraform tries to destroy the selector before destroying the policy, showing the below error.
pingfederate_authentication_selector.foo_selector["foo2"]: Destroying... [id=foo2]
Error: unable to delete AuthenticationSelectors: The Authentication Selector instance with ID 'foo2' is currently in use. The Authentication Selector must be unmapped before it is deleted.
Panic Output
Expected Behavior
Terraform honours the dependancies.
Actual Behavior
Terraform honours the dependancies.
Steps to Reproduce
Using the above replicator.
terraform apply
remove "foo2"
terraform apply`
Important Factoids
References
#0000
The text was updated successfully, but these errors were encountered:
Hi @ashhammond I believe this is probably going to be a bug with terraform itself - i'll raise it with them and see what they say, but ultimately the provider has no input on how the resource dependencies are managed by terraform.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Community Note
Terraform Version
Terraform v0.14.11
PingFederate
pingidentity/pingfederate:9.3.3-edge
Affected Resource(s)
A PingFederate authentication policy has been created that includes a selector, adapter and sp connection. These resource are created by using a terraform loop
for_each
, iterating over a list of strings.If one of the string is removed from the list of strings, triggering a destroy of those resources, terraform tries to destroy the selector before destroying the policy, showing the below error.
Terraform Configuration Files
Debug Output
Panic Output
Expected Behavior
Terraform honours the dependancies.
Actual Behavior
Terraform honours the dependancies.
Steps to Reproduce
Using the above replicator.
terraform apply
"foo2"
terraform
apply`Important Factoids
References
The text was updated successfully, but these errors were encountered: