### Terraform Configuration Files
https://github.com/plafue/terraform-provider-vault-mongodb-bug
### Steps to Reproduce
In the provided repository run
```shell
docker compose up -d
and apply/plan once (or many more times) to see how the plan always drifts from the state.
Debug Output
No response
Panic Output
No response
Important Factoids
This does not only happen with a mongodb block inside the secrets mount and a vault_database_secret_backend_connection resource: having two vault_database_secret_backend_connections with a mongo block also trigger an update in place of the database secrets mount.
Terraform Core Version
1.7.4
Terraform Vault Provider Version
3.25.0
Vault Server Version
1.15
Affected Resource(s)
vault_database_secrets_mount
vault_database_secret_backend_connection
Expected Behavior
After applying the configuration once, applying it again shouldn't show any drift against the state.
Actual Behavior
Applying the configuration with no changes show that resources will be detroyed and recreated or updated in place.
Relevant Error/Panic Output Snippet
and
apply
/plan
once (or many more times) to see how the plan always drifts from the state.Debug Output
No response
Panic Output
No response
Important Factoids
This does not only happen with a
mongodb
block inside the secrets mount and avault_database_secret_backend_connection
resource: having twovault_database_secret_backend_connection
s with a mongo block also trigger an update in place of the database secrets mount.References
No response
Would you like to implement a fix?
None