page_title | subcategory | description |
---|---|---|
morpheus_max_hosts_policy Resource - terraform-provider-morpheus |
Provides a Morpheus max hosts policy resource |
Provides a Morpheus max hosts policy resource
resource "morpheus_max_hosts_policy" "tf_example_max_hosts_policy_global" {
name = "tf_example_max_hosts_policy_global"
description = "Terraform example Morpheus max hosts policy"
enabled = true
max_hosts = 35
scope = "global"
}
max_hosts
(Number) The maximum hosts defined by the policyname
(String) The name of the max hosts policyscope
(String) The filter or scope that the policy is applied to (global, group, cloud, user, role)
apply_to_each_user
(Boolean) Whether to assign the policy at the individual user level to all users assigned the associated rolecloud_id
(Number) The id of the cloud associated with the cloud scoped filterdescription
(String) The description of the max hosts policyenabled
(Boolean) Whether the policy is enabledgroup_id
(Number) The id of the group associated with the group scoped filterrole_id
(Number) The id of the role associated with the role scoped filtertenant_ids
(List of Number) A list of tenant IDs to assign the policy touser_id
(Number) The id of the user associated with the user scoped filter
id
(String) The ID of the max hosts policy
Import is supported using the following syntax:
terraform import morpheus_max_hosts_policy.tf_example_max_hosts_policy 1