page_title | subcategory | description |
---|---|---|
morpheus_tenant Resource - terraform-provider-morpheus |
Provides a Morpheus tenant resource. |
Provides a Morpheus tenant resource.
data "morpheus_tenant_role" "example" {
name = "Tenant Admin"
}
resource "morpheus_tenant" "tf_example_tenant" {
name = "tftenant"
description = "Terraform example tenant"
enabled = true
subdomain = "tfexample"
base_role_id = data.morpheus_tenant_role.example.id
currency = "USD"
account_number = "12345"
account_name = "tenant 12345"
customer_number = "12345"
}
base_role_id
(Number) The default base role for the accountname
(String) The name of the tenant
account_name
(String) An optional field that can be used for billing and accountingaccount_number
(String) An optional field that can be used for billing and accountingcurrency
(String) Currency ISO Code to be used for the accountcustomer_number
(String) An optional field that can be used for billing and accountingdescription
(String) The description of the tenantenabled
(Boolean) Whether the tenant is enabled or notsubdomain
(String) Sets the custom login url or login prefix for logging into a sub-tenant user
id
(String) The ID of the tenant
Import is supported using the following syntax:
terraform import morpheus_tenant.tf_example_tenant 1