Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Users Example

Managed Database creation with user support.

module "rdb" {
  source = "../../"

  databases = {
    main = {
      name      = "test-simple-db"
      node_type = "DB-DEV-S"
      engine    = "PostgreSQL-11"
      users = [
        {
          username        = "application"
          password_length = 16
          is_admin        = false
        },
        {
          username        = "administrator"
          password_length = 24
          is_admin        = true
        }
      ]
    }
    secondary = {
      name      = "test-simple-db"
      node_type = "DB-DEV-S"
      engine    = "PostgreSQL-11"
      users = [
        {
          password_length = 16
          is_admin        = false
          username        = "test1"
        }
      ]
    }
  }
}

Requirements

No requirements.

Providers

No providers.

Modules

Name Source Version
rdb ../../ n/a

Resources

No resources.

Inputs

No inputs.

Outputs

Name Description
rdb n/a