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
Hi.
It was mentioned in the https://support.mongodb.com/case/00734936 that it is possible to configure encryption at rest with iam roles using latest provider version. Getting errors trying to do that.
Terraform CLI and Terraform MongoDB Atlas Provider Version
terraform fails.
If no aws keys passed, it fails with:
Error: error creating Encryption At Rest: PATCH https://cloud.mongodb.com/api/atlas/v1.0/groups/60003ba7e76e13078dc934ec/encryptionAtRest: 400 (request "MISSING_ATTRIBUTE") The required attribute accessKeyID was not specified.
on ../../../devops-tf-atlas-mongodb/modules/project/main.tf line 43, in resource "mongodbatlas_encryption_at_rest" "this":
43: resource "mongodbatlas_encryption_at_rest" "this" {
Error: error updating cloud provider access PATCH https://cloud.mongodb.com/api/atlas/v1.0/groups/60003ba7e76e13078dc934ec/cloudProviderAccess/6001b929198813622c28c3ac: 400 (request "INVALID_ATTRIBUTE") Invalid attribute iamAssumedRoleArn specified.
if aws keys passed, it fails with
Error: error creating Encryption At Rest: PATCH https://cloud.mongodb.com/api/atlas/v1.0/groups/60003ba7e76e13078dc934ec/encryptionAtRest: 400 (request "AWS_KMS_CREDENTIALS_AUTH_DEPRECATED") Credentials based authentication is no longer supported for AWS KMS.
Debug Output
Crash Output
Additional Context
References
The text was updated successfully, but these errors were encountered:
role_id - ID of an AWS IAM role authorized to manage an AWS customer master key. To find the ID for an existing IAM role check the role_id attribute of the mongodbatlas_cloud_provider_access resource.
This is mentioned in the documentation and shall be released with v0.8. We have released the v0.8-pre.1
v0.8.0 is still in pre-release (you can see the latest versions on the main repo site and in the Terraform registry are both still 0.7.0) - v0.8.0 is still marked pre-release in the repo as per our normal process (we have also changed the name to reflect this as well). We plan to have 0.8.0 out shortly but are still working out a few issues to ensure it's ready. It will be fully released with a guide soon.
Hi.
It was mentioned in the https://support.mongodb.com/case/00734936 that it is possible to configure encryption at rest with iam roles using latest provider version. Getting errors trying to do that.
Terraform CLI and Terraform MongoDB Atlas Provider Version
Terraform Configuration File
Steps to Reproduce
terraform init; terraform apply
Expected Behavior
encryption at rest configured
Actual Behavior
terraform fails.
If no aws keys passed, it fails with:
if aws keys passed, it fails with
Debug Output
Crash Output
Additional Context
References
The text was updated successfully, but these errors were encountered: