page_title |
---|
FireHydrant Resource: firehydrant_priority |
FireHydrant priorities define when an incident should be addressed.
Basic usage:
resource "firehydrant_priority" "example-priority" {
slug = "MYEXAMPLEPRIORITY"
description = "This is an example priority"
default = true
}
The following arguments are supported:
slug
- (Required) The slug representing the priority. It must be unique and only contain alphanumeric characters. The slug cannot be longer than 23 characters.default
- (Optional) Indicates whether the priority should be the default priority for incidents. At most one resource can have default set totrue
. Setting default totrue
for multiple priority resources will result in inconsistent plans in Terraform. Defaults tofalse
.description
- (Optional) A description for the priority.
In addition to all arguments above, the following attributes are exported:
id
- The ID of the priority. This is the same as the slug.
Priorities can be imported; use <PRIORITY SLUG>
as the import ID. For example:
terraform import firehydrant_priority.test P1