-
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
Provider version 1.12.0 is breaking the resource mongodbatlas_database_user (1.11.1 works correctly) #1485
Comments
Thanks for opening this issue. The ticket INTMDB-1130 was created for internal tracking. |
@joaquin386 Please also share your Terraform config for this issue. |
I did open a ticket internally with Mongo 01193655. FYI. All of that is shared there. Here the service tf:
And here the module:
Module var file
|
Update: @joaquin386 Could you try removing |
Removing the |
@joaquin386 apologies for any friction this may have cause on your side. we are are working to update our guidance, documentation, and ideally a longer term fix to prevent similar issue from occurring again and can share back with you shortly. in the interim, just curious can you help us understand why your team included an empty variable in terraform script before (collection_name = "") given this parameter is optional to begin with? |
When a developer wants to create a service they create it from a template. Developers do not read the hashicorp provider documentation and check the options they have. We present all the options on their service (which is created from the template) on their terraform file with empty values when possible. If they see So at the end is to show the configuration possibilities to the developers. The problem is that in 1.11.1 you could put collection_name as "" but now in 1.12.0 you can not do that. |
very helpful @joaquin386, thanks for sharing. we plan to issue v1.12.1 (new minor release) to highlight this issue, update Changelog, and add a new migration upgrade Guide as well to advise users to remove
|
Thanks for the quick effort. I did release an announcement from our side to let our developers know about this change and how to fix the issue, and also for the future change. |
SGTM @joaquin386. Resolving this one as v1.12.1 is now released. Thanks again! cc: @maastha |
Hello!
Version 1.12.0 is breaking the resource "mongodbatlas_database_user" "createdbusers". Can you please remove the 1.12.0 version? We have in many project to pick any 1.X.X version.
If hardcoding to 1.11.1 then everything is fine.
1.12.0 Logs:
Plan Change:
Apply Change:
Error when tf apply:
It does create a DB Access but then it give the above error
The text was updated successfully, but these errors were encountered: