[Bug]: Error: error revoking certificate
JLP2000 opened this issue · 0 comments
Terraform Core Version
1.2.1
Terraform Vault Provider Version
3.25.0
Vault Server Version
3.25.0
Affected Resource(s)
I am trying to generate client credentials using vault, everything is fine when i terraform plan, but when i attempt to apply i get the error:
Error: error revoking certificate "svc" with serial number "<serial_number>" for PKI secret backend "backend": Error making API request.
URL: PUT https:///v1/backend/revoke
Code: 400. Errors:
- certificate with serial <serial_number> not found
It keeps attempting to revoke an existing certificate with the specific serial number but the certificate does not exist.
Expected Behavior
I have other similar pipelines in different environments that use the same code which works fine. It is just with this environment that it attempts to revoke the certificate with a serial number that does not exist
Actual Behavior
It is attempting to revoke a certificate with a serial number that does not exist
Relevant Error/Panic Output Snippet
Error: error revoking certificate "svc" with serial number "<serial_number>" for PKI secret backend "backend": Error making API request.
URL: PUT https://<url>/v1/backend/revoke
Code: 400. Errors:
* certificate with serial <serial_number> not found
Terraform Configuration Files
Everything in the config file is fine
Steps to Reproduce
No issue with config
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None