-
Notifications
You must be signed in to change notification settings - Fork 190
Cannot import mongodbatlas_database_user if username contains a hyphen #234
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
Comments
@MontgomeryWatts it's a known bug, reported and corrected and should be included in our next version release but already available in our master branch. See https://github.com/terraform-providers/terraform-provider-mongodbatlas/issues/179 and https://github.com/terraform-providers/terraform-provider-mongodbatlas/pull/214 Thanks! |
That is the main Terraform Changelog. Each provider has its own and the
Atlas one is here:
https://github.com/terraform-providers/terraform-provider-mongodbatlas/blob/master/CHANGELOG.md
|
Apparently I still have the same issue, although I'm using
I want to check the issue and the PR but it's not reachable anymore. |
Thanks for you quick response!
After reviewing the information, I realized I misunderstood about
|
@enm10k glad to hear you are good to go! Let us know if anything else comes up. Thanks! |
I was trying to import a mongodbatlas_database_user where the username is
lambda-producer
. I used a hyphen in the name to be in line with the example usage but when runningterraform import mongodbatlas_database_user.producer_user <PROJECT-ID>-lambda-producer-admin
it's clear from the output that it is interpreted as the username beinglambda
and the auth_database_name beingproducer-admin
. The import section shows an example with a username that contains an underscore.Since the documentation claims that syntax works but doesn't, could the docs be changed to show usernames with underscores, or is this broken functionality?
The text was updated successfully, but these errors were encountered: