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
module"mongodbatlas_database_user" {
source="./modules/mongodbatlas/r/mongodbatlas_database_user"# auth_database_name - (optional) is a type of stringauth_database_name=null# aws_iam_type - (optional) is a type of stringaws_iam_type=null# database_name - (optional) is a type of stringdatabase_name=null# password - (optional) is a type of stringpassword=null# project_id - (required) is a type of stringproject_id=null# username - (required) is a type of stringusername=null# x509_type - (optional) is a type of stringx509_type=nulllabels=[{
key =null
value =null
}]
roles=[{
collection_name =null
database_name =null
role_name =null
}]
scopes=[{
name =null
type =null
}]
}
resource"mongodbatlas_database_user""this" {
# auth_database_name - (optional) is a type of stringauth_database_name=var.auth_database_name# aws_iam_type - (optional) is a type of stringaws_iam_type=var.aws_iam_type# database_name - (optional) is a type of stringdatabase_name=var.database_name# password - (optional) is a type of stringpassword=var.password# project_id - (required) is a type of stringproject_id=var.project_id# username - (required) is a type of stringusername=var.username# x509_type - (optional) is a type of stringx509_type=var.x509_typedynamic"labels" {
for_each=var.labelscontent {
# key - (optional) is a type of stringkey=labels.value["key"]
# value - (optional) is a type of stringvalue=labels.value["value"]
}
}
dynamic"roles" {
for_each=var.rolescontent {
# collection_name - (optional) is a type of stringcollection_name=roles.value["collection_name"]
# database_name - (optional) is a type of stringdatabase_name=roles.value["database_name"]
# role_name - (optional) is a type of stringrole_name=roles.value["role_name"]
}
}
dynamic"scopes" {
for_each=var.scopescontent {
# name - (optional) is a type of stringname=scopes.value["name"]
# type - (optional) is a type of stringtype=scopes.value["type"]
}
}
}