Skip to content

Latest commit

 

History

History
53 lines (39 loc) · 1.46 KB

motd_policy.md

File metadata and controls

53 lines (39 loc) · 1.46 KB
page_title subcategory description
morpheus_motd_policy Resource - terraform-provider-morpheus
Provides a Morpheus message of the day policy resource

morpheus_motd_policy

Provides a Morpheus message of the day policy resource

Example Usage

resource "morpheus_motd_policy" "tf_example_motd_policy" {
  name         = "tf_example_motd_policy"
  description  = "terraform example global user creation policy"
  enabled      = true
  title        = "TF Example MOTD"
  message      = "This is a test message of the day message"
  message_type = "info"
  full_page    = true
}

Schema

Required

  • message (String) The message of the message of the day
  • name (String) The name of the message of the day policy
  • type (String) The message type of the message of the day (info, warning, critical)

Optional

  • description (String) The description of the message of the day policy
  • enabled (Boolean) Whether the policy is enabled
  • full_page (String) Whether the message of the day is displayed as a full page or just a notification dialog box
  • tenant_ids (List of Number) A list of tenant IDs to assign the policy to
  • title (String) The title of the message of the day

Read-Only

  • id (String) The ID of the message of the day policy

Import

Import is supported using the following syntax:

terraform import morpheus_motd_policy.tf_example_motd_policy 1