DPoP for configuration with a lot of objects can cause failures during terraform plan #2076
Labels
bug
stale
triaged
Triaged into internal Jira
waiting-response
Waiting on collaborator to responde to follow on disucussion
Community Note
Terraform Version
Affected Resource(s)
Terraform Configuration Files
Debug Output
NA
Panic Output
Not related
Expected Behavior
terraform plan finishes without errors
Can this be done in the Admin UI?
Not related
Can this be done in the actual API call?
Not related
Actual Behavior
terraform plan
reports errorsfor different types of resources
When I've analysed trace output from terraform I've detected following:
Errors with description
Authorization server requires nonce in DPoP proof.
andThe DPoP proof JWT header is missing.
seems as expected and correctly processed, while errors withThe DPoP proof JWT has already been used.
is what is causing terraform plan to failSorry, I cannot share configuration or the trace.
Steps to Reproduce
terraform plan
Important Factoids
Our terraform state has about 1500 objects.
Configuration worked fine with API token, plan started to fail when we switched to OAuth2.0.
As a workaround - we've disabled DPoP for our OAuth2.0 Application and configuration started to work.
References
The text was updated successfully, but these errors were encountered: