20 lines
534 B
Terraform
20 lines
534 B
Terraform
resource "boundary_scope" "org" {
|
|
name = "organization_one"
|
|
description = "My first scope!"
|
|
scope_id = "global"
|
|
auto_create_admin_role = true
|
|
auto_create_default_role = true
|
|
}
|
|
|
|
resource "boundary_auth_method" "password" {
|
|
scope_id = boundary_scope.org.id
|
|
type = "password"
|
|
}
|
|
|
|
resource "boundary_account_password" "jeff" {
|
|
auth_method_id = boundary_auth_method.password.id
|
|
type = "password"
|
|
login_name = "jeff"
|
|
password = "$uper$ecure"
|
|
}
|