Closed rvdh closed 10 months ago
Hi I'm encountering the same situation, I know It's been 2 years but I was wondering if you solved it or circumvented it somehow ?
Hi I'm encountering the same situation, I know It's been 2 years but I was wondering if you solved it or circumvented it somehow ?
Nope, unfortunately we're still updating the key version ID manually every 90 days..
Thanks Rick, I opened a suggestion for them to improve this https://feedback.mongodb.com/forums/924145-atlas/suggestions/44834422-atlas-does-not-automatically-rotate-the-key-versio
Hi, am facing the same issue. We need to manually change the cryptokeyversion in the datasource of our tfcode. Its been 2 years since this was reported, is there any solution to this yet ? or any workaround ??
@rvdh @danawillow @bdelage @topfunky @fd
Thanks in advance.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Community Note
Description
To update the crypto key version to be used in MongoDB's Atlas encryption at rest resource (https://www.terraform.io/docs/providers/mongodbatlas/r/encryption_at_rest.html) we need to specify the crypto key version resource ID.
The GCP API returns, as part of the 'Primary' field of the crypto key, the current key version (https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys#get). This should be returned by the google_kms_crypto_key resource or data source so we can return it as an output and pass it to the MongoDB Atlas provider.
New or Affected Resource(s)
Potential Terraform Configuration
0000
b/299683844