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
I have a new issue with the 3.12.0 version of the provider, and the vault_raft_autopilot resource:
Terraform Version
Run terraform -v to show the version. If you are not running the latest version of Terraform, please upgrade because your issue may have already been fixed.
Terraform v1.3.7
on darwin_arm64
+ provider registry.terraform.io/hashicorp/vault v3.12.0
│ Error: error writing "sys/storage/raft/autopilot/configuration": Error making API request.
│
│ URL: PUT https://<my server url>/v1/sys/storage/raft/autopilot/configuration
│ Code: 400. Errors:
│
│ * disable_upgrade_migration is only available in Vault Enterprise
│
│ with vault_raft_autopilot.autopilot,
│ on raft.tf line 1, in resource "vault_raft_autopilot" "autopilot":
│ 1: resource "vault_raft_autopilot" "autopilot" {
Expected Behavior
Vault raft configuration should be updated
Actual Behavior
It errors since version 3.12.0 of the vault provider, I believe that it might be related to this patch : #1705
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
Change anything in the vault_raft_autopilot config
terraform apply
Important Factoids
Vault server version is 1.12.1
I did try adding disable_upgrade_migration = false to the block without success
reverting to 3.11.0 fixes the problem.
It can be reproduced by issuing curl -X PUT -H "X-Vault-Request: true" -H "X-Vault-Token: $(vault print token)" -d '{"disable_upgrade_migration":false }' https://<my server url>/v1/sys/storage/raft/autopilot/configuration
References
Are there any other GitHub issues (open or closed) or Pull Requests that should be linked here? For example:
Hi there,
I have a new issue with the 3.12.0 version of the provider, and the
vault_raft_autopilot
resource:Terraform Version
Run
terraform -v
to show the version. If you are not running the latest version of Terraform, please upgrade because your issue may have already been fixed.Affected Resource(s)
Please list the resources as a list, for example:
Terraform Configuration Files
Debug Output
Expected Behavior
Vault raft configuration should be updated
Actual Behavior
It errors since version
3.12.0
of the vault provider, I believe that it might be related to this patch : #1705Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
Important Factoids
1.12.1
disable_upgrade_migration = false
to the block without success3.11.0
fixes the problem.curl -X PUT -H "X-Vault-Request: true" -H "X-Vault-Token: $(vault print token)" -d '{"disable_upgrade_migration":false }' https://<my server url>/v1/sys/storage/raft/autopilot/configuration
References
Are there any other GitHub issues (open or closed) or Pull Requests that should be linked here? For example:
Thanks for your help
The text was updated successfully, but these errors were encountered: