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
After upgrade of provider from version 4.4.0 to 4.6.0, terraform won't force-recreate our vault_approle_auth_backend_role_secret_id resources
Actual Behavior
We upgraded terraform provider from version 4.4.0 to 4.6.0 and it caused that all of our vault_approle_auth_backend_role_secret_id resources are recreated. This is actually bad, because it causes that approle secrets gets recreated and our systems loose access to vault. Seems to be caused by #2345
Terraform Core Version
1.10.5
Terraform Vault Provider Version
4.6.0
Vault Server Version
1.15
Affected Resource(s)
vault_approle_auth_backend_role_secret_id
Expected Behavior
After upgrade of provider from version 4.4.0 to 4.6.0, terraform won't force-recreate our vault_approle_auth_backend_role_secret_id resources
Actual Behavior
We upgraded terraform provider from version 4.4.0 to 4.6.0 and it caused that all of our vault_approle_auth_backend_role_secret_id resources are recreated. This is actually bad, because it causes that approle secrets gets recreated and our systems loose access to vault. Seems to be caused by #2345
Our plans show (example):
Relevant Error/Panic Output Snippet
Terraform Configuration Files
resource "vault_approle_auth_backend_role_secret_id" "this" {
for_each = length(var.vault_approle) > 0 ? local.hostnames : toset([])
backend = "approle"
role_name = var.vault_approle
secret_id = try(var.vault_approle_secret_id_map[each.value], null)
}
Steps to Reproduce
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: