-
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
400 (request "INVALID_ATTRIBUTE") Invalid attribute providerBackupEnabled specified. #1245
Comments
@codesmithtech reviewing your terraform script (mongo_db.tf file) it appears you have |
Thanks, but the issue persists even when provider_backup_enabled is not passed. The source code of the provider includes that parameter in its API call to Atlas when the newer cloud_backup parameter is provided... I assume this is the root cause of the bug and included a link to this in the initial bug report. I can only assume that the Atlas backend API has now fully dropped support for the provider_backup_enabled param, rather than just marking it as deprecated. |
@codesmithtech @Zuhairahmed I am not able to replicate this error using v1.10.0 using parameter = null or skipping all together |
This issue has gone 30 days without any activity and meets the project’s definition of "stale". This will be auto-closed if there is no new activity over the next 30 days. If the issue is still relevant and active, you can simply comment with a "bump" to keep it open, or add the label "not_stale". Thanks for keeping our repository healthy! |
Hello @codesmithtech, Thanks |
Terraform CLI and Terraform MongoDB Atlas Provider Version
Terraform Configuration File
Steps to Reproduce
Expected Behavior
Cluster should have provisioned in Mongo Atlas
Actual Behavior
Error reported by terraform during cluster creation.
Apply output was:
Debug Output
Crash Output
Additional Context
This looks like a problem whereby the API is not accepting a parameter that the terraform provider is sending. It seems the attribute the API is complaining about (
providerBackupEnabled
) is set when thecloud_backup
parameter is provided as a parameter to themongodbatlas_cluster
resource. Seen here: https://github.com/mongodb/terraform-provider-mongodbatlas/blob/master/mongodbatlas/resource_mongodbatlas_cluster.go#L492References
The text was updated successfully, but these errors were encountered: