-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CANNOT_DISABLE_PIT_WITH_BACKUP_COMPLIANCE_POLICY #1855
Comments
Thanks for opening this issue! Please make sure you've followed our guidelines when opening the issue. In short, to help us reproduce the issue we need:
The ticket CLOUDP-224356 was created for internal tracking. |
Hi @mvaduguru87 Could you please help us with below details to look further into this issue?
I would also request you to provide further details to help with one-click reproducible issues principle as mentioned in our guidelines. |
Certainly!. We are using modules to create the clusters. Hence I am providing you with the output of the plan that still provides you cluster configuration. Please find attached file terraformplan_1_14_0.txt for the details. I am also attaching the trace logs. terraform_1.14_1_trace.log I also want to mention that since all our clusters that have already been created are using V1.13.1 mongo db provider version, I tried to use the same to run the clusters. I received the same error. I am attaching the configurations in file and tracelogs. The error in all these cases is same - Error: error creating MongoDB Cluster: POST https://cloud.mongodb.com/api/atlas/v1.0/groups/65a8075d15a5527895928ac4/clusters: 400 (request "CANNOT_DISABLE_PIT_WITH_BACKUP_COMPLIANCE_POLICY") Continuous Cloud Backup is required by Backup Compliance Policy. Please let me know if you need any more details. Unfortunately I couldn't provide you a one -click reproducible files. I hope what is provided will help to identity the issue. Also please note that I removed all the sensitive information from the trace files. |
Hi @mvaduguru87 I was able to reproduce As for Note that I am not sure of the exact order in which updates were performed, but with the fix mentioned above I was able to successfully create a cluster with same configuration as yours (with
|
Thank you for your response. When are you planning to release the next fix? |
Terraform CLI and Terraform MongoDB Atlas Provider Version
###Terraform Edition
Terraform Configuration File
Steps to Reproduce
Plan/Apply
Actual Behavior
When the flag enabled is set to true , the plan is getting generated but when applying the plugin is crashing.
plugincrash.log
When the flag enabled is set to false , the plan is getting generated but when applying getting the error
Error: error creating MongoDB Cluster: POST https://cloud.mongodb.com/api/atlas/v1.0/groups/65a8075d15a5527895928ac4/clusters: 400 (request "CANNOT_DISABLE_PIT_WITH_BACKUP_COMPLIANCE_POLICY") Continuous Cloud Backup is required by Backup Compliance Policy.
-->
Debug Output
Crash Output
Additional Context
References
(https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/resources/backup_compliance_policy)
The text was updated successfully, but these errors were encountered: