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
Please list the full steps required to reproduce the issue, for example:
terraform init
terraform apply
The user is created but the Terraform throws 500 error.
Error: error getting database user information: GET https://cloud.mongodb.com/api/atlas/v1.0/groups/5dd0f66379358e17e49d6c40/databaseUsers/$external/C%3DUS%2CST%3DCalifornia%2CL%3DSantaClara%2CO%3DPAN+Inc.%2COU%3DAppServices%2CCN%3Dappsvc-dev: 500 (request "Internal Server Error") Unexpected error.
on atlas.tf line 29, in resource "mongodbatlas_database_user" "atlas":
29: resource "mongodbatlas_database_user" "atlas" {
Error: error getting database user information: GET https://cloud.mongodb.com/api/atlas/v1.0/groups/5dd0f66379358e17e49d6c40/databaseUsers/$external/C%3DUS%2CST%3DCalifornia%2CL%3DSantaClara%2CO%3DPAN+Inc.%2COU%3DAppServices%2CCN%3Dappsvc-qa: 500 (request "Internal Server Error") Unexpected error.
on atlas.tf line 29, in resource "mongodbatlas_database_user" "atlas":
29: resource "mongodbatlas_database_user" "atlas" {
Leaving this open @nikhil-mongo as you are correct 292 covers auth as was already in progress but the spacing issue should be reviewed as well @leofigy fyi, left on current tracking card.
Terraform CLI and Terraform MongoDB Atlas Provider Version
Terraform Configuration File
Steps to Reproduce
Please list the full steps required to reproduce the issue, for example:
terraform init
terraform apply
The user is created but the Terraform throws 500 error.
Expected Behavior
The user created without any error.
Actual Behavior
The user is created with 500 error.
Debug Output
debug.log
Another scenario:
Steps to Reproduce
Please list the full steps required to reproduce the issue, for example:
terraform init
terraform apply
Expected Behavior
The user is created successfully
Actual Behavior
The user is created successfully
Change any parameter such as
database_name : "admin"
to `database_name : "sample_flix" and runterraform apply
Expected Behavior
The existence of the user should be validated agains
$external
db and update should be applied.Actual Behavior
The existence of the user is validated agains the
admin
database which is incorrect.Debug Output
debug.log
Crash Output
Additional Context
References
The text was updated successfully, but these errors were encountered: