incident-management

cloudposse/incident-management/opsgenie

Terraform Module HCL OPSGENIE

Terraform module to provision Opsgenie resources from YAML configurations using the Opsgenie provider,, complete with automated tests

Install
module "incident-management" {
source = "cloudposse/incident-management/opsgenie"
version = "0.16.0"
}
⭐ Source on GitHub 📦 Registry page
README

terraform-opsgenie-incident-management ![Latest Release](https://github.com/cloudposse/terraform-opsgenie-incident-management/releases/latest) ![Slack Community](https://slack.cloudposse.com) ![Discourse Forum](https://ask.sweetops.com/) [![README Header][readme_header_img]][readme_header_link] [![Cloud Posse][logo]](https://cpco.io/homepage) Terraform module to provision Opsgenie resources using the Opsgenie provider. The provider needs to be configured with the proper credentials before it can be used. It consist of root module which is only here as an example but can be used as a combination of all submodules. Submodules can also be combined to abstract away complexity of setting up for example a team escalation. --- This project is part of our comprehensive "SweetOps" approach towards

Inputs (29)
NameTypeDescriptionDefault
label_value_casestringControls the letter case of ID elements (labels) as included in `id`, set as tag required
delimiterstringDelimiter to be used between ID elements. Defaults to `-` (hyphen). Set to `""` required
regex_replace_charsstringTerraform regular expression (regex) string. Characters matching the regex will required
label_key_casestringControls the letter case of the `tags` keys (label names) for tags generated by required
namespacestringID element. Usually an abbreviation of your organization name, e.g. 'eg' or 'cp' required
label_orderlist(string)The order in which the labels (ID elements) appear in the `id`. Defaults to ["na required
tenantstringID element _(Rarely used, not included by default)_. A customer identifier, indi required
namestringID element. Usually the component or solution name, e.g. 'app' or 'jenkins'. Thi required
enabledboolSet to false to prevent the module from creating any resources required
stagestringID element. Usually used to indicate role, e.g. 'prod', 'staging', 'source', 'bu required
id_length_limitnumberLimit `id` to this many characters (minimum 6). Set to `0` for unlimited length. required
environmentstringID element. Usually used for region e.g. 'uw2', 'us-west-2', OR role 'prod', 'st required
opsgenie_provider_api_keystringThe API Key for the Opsgenie Integration. If omitted, the OPSGENIE_API_KEY envir""
notification_policymapOpsgenie Notification Policy configuration{}
alert_policymapOpsgenie Alert Policy configuration{}
labels_as_tagsset(string)Set of labels (ID elements) to include as tags in the `tags` output. Default is [ "default" ]
integration_actionmapOpsgenie Integration Action configuration{}
service_incident_rulemapOpsgenie Service Incident Rule configuration{}
contextanySingle object for setting entire context at once. See description of individual { "additional_tag_map": {}, "attribu
team_routing_rulemapOpsgenie Team Routing Rule configuration{}
usermapOpsgenie User configuration{}
tagsmap(string)Additional tags (e.g. `{'BusinessUnit': 'XYZ'}`). Neither the tag keys nor the t{}
additional_tag_mapmap(string)Additional key-value pairs to add to each map in `tags_as_list_of_maps`. Not add{}
descriptor_formatsanyDescribe additional descriptors to be output in the `descriptors` output map. Ma{}
api_integrationmapOpsgenie API Integration configuration{}
escalationmapOpsgenie Escalation configuration{}
servicemapOpsgenie Service configuration{}
attributeslist(string)ID element. Additional attributes (e.g. `workers` or `cluster`) to add to `id`, []
teammapOpsgenie Team configuration{}
Outputs (23)
escalation_id — The ID of the Opsgenie Escalation
integration_action_id — The ID of the Opsgenie Integration Action
notification_policy_name — The name of the Opsgenie Notification Policy
user_name — The name of the Opsgenie User
alert_policy_tags — Tags of the Opsgenie Alert Policy
alert_policy_responders — Responders of the Opsgenie Alert Policy.
api_integration_name — The name of the Opsgenie API Integration
api_integration_id — The ID of the Opsgenie API Integration
service_id — The ID of the Opsgenie Service
service_incident_rule_id — The ID of the Opsgenie Service Incident Rule
alert_policy_id — The ID of the Opsgenie Alert Policy
alert_policy_filter — Filters of the Opsgenie Alert Policy
team_id — The ID of the Opsgenie Team
team_routing_rule_name — The name of the Opsgenie Team Routing Rule
alert_policy_name — Name of the Opsgenie Alert Policy
notification_policy_id — The ID of the Opsgenie Notification Policy
team_name — The name of the Opsgenie Team
team_routing_rule_id — The ID of the Opsgenie Team Routing Rule
service_name — The name of the Opsgenie Service
alert_policy_priority — Priority of the Opsgenie Alert Policy
api_integration_api_key — API key of the created integration
escalation_name — Name of the Opsgenie Escalation
user_id — The ID of the Opsgenie User
Details
FrameworkTerraform Module
LanguageHCL
Version0.16.0
Cloud OPSGENIE
★ Stars31
Forks21
Total downloads216.5k
Inputs29
Outputs23
Examples12
Submodules12
LicenseApache-2.0
Namespacecloudposse
Updated