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
There are no options in the vault_pki_secret_backend_root_cert resource to do this. I tried using the vault_generic_secret and it worked, however pki/config/urls does not have a DELETE operation, instead you have to set the parameters to empty. As a result, I couldn't get terraform to roll back itself automatically since it kept trying to initiate a delete command.
Finally I had to simply remove that particular resource from the state file via the command: terraform state rm vault_generic_secret.pki_config to get things working again.
We need a means to initiate a set on that particular path and in the case of rollback a setting of an empty string instead.
Hi There,
Before generating a root certificate, one should set the configuration URLs for the issuing cert and the distribution endpoint: see https://www.vaultproject.io/docs/secrets/pki/index.html, step 4.
There are no options in the
vault_pki_secret_backend_root_cert
resource to do this. I tried using thevault_generic_secret
and it worked, howeverpki/config/urls
does not have a DELETE operation, instead you have to set the parameters to empty. As a result, I couldn't get terraform to roll back itself automatically since it kept trying to initiate a delete command.Finally I had to simply remove that particular resource from the state file via the command:
terraform state rm vault_generic_secret.pki_config
to get things working again.We need a means to initiate a set on that particular path and in the case of rollback a setting of an empty string instead.
Terraform Version
Terraform v0.11.13
Vault Provider 1.6.0
Vault v1.0.3
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
Correctly update/delete the resource and parameters in Vault
Actual Behavior
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
to get resource created.terraform apply
resource will attempt to be deleted.The text was updated successfully, but these errors were encountered: