Skip to content

Latest commit

 

History

History
53 lines (39 loc) · 1.47 KB

File metadata and controls

53 lines (39 loc) · 1.47 KB
page_title subcategory description
opal_owner Resource - terraform-provider-opal
Owner Resource

opal_owner (Resource)

Owner Resource

Example Usage

resource "opal_owner" "my_owner" {
  access_request_escalation_period = 120
  description                      = "This owner represents the API team owners."
  name                             = "API Owner"
  reviewer_message_channel_id      = "37cb7e41-12ba-46da-92ff-030abe0450b1"
  source_group_id                  = "1b978423-db0a-4037-a4cf-f79c60cb67b3"
  user_ids = [
    "8303c22a-4931-4ddc-9800-a14c8ba3f46f"
  ]
}

Schema

Required

  • name (String) The name of the owner.
  • user_ids (Set of String) Users to add to the created owner. If setting a source_group_id this list must be empty.

Optional

  • access_request_escalation_period (Number) The amount of time (in minutes) before the next reviewer is notified. Use 0 to remove escalation policy.
  • description (String) A description of the owner.
  • reviewer_message_channel_id (String) The message channel id for the reviewer channel.
  • source_group_id (String) Sync this owner's user list with a source group.

Read-Only

  • id (String) The ID of the owner.

Import

Import is supported using the following syntax:

terraform import opal_owner.my_opal_owner "32acc112-21ff-4669-91c2-21e27683eaa1"