page_title | subcategory | description |
---|---|---|
morpheus_workflow_policy Resource - terraform-provider-morpheus |
Provides a Morpheus workflow policy resource |
Provides a Morpheus workflow policy resource
resource "morpheus_workflow_policy" "tf_example_workflow_policy_global" {
name = "tf_example_workflow_policy_global"
description = "TF Example Workflow Policy"
enabled = true
workflow_id = 1
scope = "global"
}
name
(String) The name of the workflow policyscope
(String) The filter or scope that the policy is applied to (global, group, cloud, user, role)workflow_id
(Number) The id of the workflow associated with the policy
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 workflow 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 workflow policy
Import is supported using the following syntax:
terraform import morpheus_workflow_policy.tf_example_policy 1