resource/pingone_application_flow_policy_assignment
: Removal of policy in DV leads to "FlowId/PolicyId not found" error when the policy is invoked by client app
#576
Labels
service/sso
PingOne SSO
status/triaged
The issue/PR has completed initial triage and needs assignment
type/bug
Something isn't working
Milestone
Community Note
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.
PingOne Terraform provider Version
Terraform Version
Affected Resource(s)
pingone_application_flow_policy_assignment
Terraform Configuration Files
Debug Output
N/a
Panic Output
N/a
Expected Behavior
Replacement of a
davinci_application.xyz.policy
set object will generate a new policy ID (davinci_application.xyz.policy.policy_id
) that should be updated in thepingone_application_flow_policy_assignment
resource. There exists a time when thedavinci_application.xyz.policy
object is removed from the platform but still assigned on thepingone_application_flow_policy_assignment
resource.When the
pingone_application_flow_policy_assignment
resource is updated with the new DV policy ID, this should be made successfully and have no negative impact to front end experience.Actual Behavior
When the
davinci_application.xyz.policy
object is removed but still assigned to the application with thepingone_application_flow_policy_assignment
resource, an inconsistency arises in the application. Thepingone_application_flow_policy_assignment
resource can be updated successfully, but the inconsistency remains.Recommended interim workaround is to replace the tainted
pingone_application_flow_policy_assignment
resource: Terraform doc link and apply thereplace_triggered_by
lifecycle argument on thepingone_application_flow_policy_assignment
, triggered by thepolicy_id
on thedavinci_application
resource.Steps to Reproduce
Important Factoids
References
The text was updated successfully, but these errors were encountered: