incident-management
cloudposse/incident-management/opsgenie
Terraform module to provision Opsgenie resources from YAML configurations using the Opsgenie provider,, complete with automated tests
terraform-opsgenie-incident-management    [![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
| Name | Type | Description | Default |
|---|---|---|---|
| label_value_case | string | Controls the letter case of ID elements (labels) as included in `id`, set as tag | required |
| delimiter | string | Delimiter to be used between ID elements. Defaults to `-` (hyphen). Set to `""` | required |
| regex_replace_chars | string | Terraform regular expression (regex) string. Characters matching the regex will | required |
| label_key_case | string | Controls the letter case of the `tags` keys (label names) for tags generated by | required |
| namespace | string | ID element. Usually an abbreviation of your organization name, e.g. 'eg' or 'cp' | required |
| label_order | list(string) | The order in which the labels (ID elements) appear in the `id`. Defaults to ["na | required |
| tenant | string | ID element _(Rarely used, not included by default)_. A customer identifier, indi | required |
| name | string | ID element. Usually the component or solution name, e.g. 'app' or 'jenkins'. Thi | required |
| enabled | bool | Set to false to prevent the module from creating any resources | required |
| stage | string | ID element. Usually used to indicate role, e.g. 'prod', 'staging', 'source', 'bu | required |
| id_length_limit | number | Limit `id` to this many characters (minimum 6). Set to `0` for unlimited length. | required |
| environment | string | ID element. Usually used for region e.g. 'uw2', 'us-west-2', OR role 'prod', 'st | required |
| opsgenie_provider_api_key | string | The API Key for the Opsgenie Integration. If omitted, the OPSGENIE_API_KEY envir | "" |
| notification_policy | map | Opsgenie Notification Policy configuration | {} |
| alert_policy | map | Opsgenie Alert Policy configuration | {} |
| labels_as_tags | set(string) | Set of labels (ID elements) to include as tags in the `tags` output. Default is | [
"default"
] |
| integration_action | map | Opsgenie Integration Action configuration | {} |
| service_incident_rule | map | Opsgenie Service Incident Rule configuration | {} |
| context | any | Single object for setting entire context at once. See description of individual | {
"additional_tag_map": {},
"attribu |
| team_routing_rule | map | Opsgenie Team Routing Rule configuration | {} |
| user | map | Opsgenie User configuration | {} |
| tags | map(string) | Additional tags (e.g. `{'BusinessUnit': 'XYZ'}`). Neither the tag keys nor the t | {} |
| additional_tag_map | map(string) | Additional key-value pairs to add to each map in `tags_as_list_of_maps`. Not add | {} |
| descriptor_formats | any | Describe additional descriptors to be output in the `descriptors` output map. Ma | {} |
| api_integration | map | Opsgenie API Integration configuration | {} |
| escalation | map | Opsgenie Escalation configuration | {} |
| service | map | Opsgenie Service configuration | {} |
| attributes | list(string) | ID element. Additional attributes (e.g. `workers` or `cluster`) to add to `id`, | [] |
| team | map | Opsgenie Team configuration | {} |
escalation_id — The ID of the Opsgenie Escalationintegration_action_id — The ID of the Opsgenie Integration Actionnotification_policy_name — The name of the Opsgenie Notification Policyuser_name — The name of the Opsgenie Useralert_policy_tags — Tags of the Opsgenie Alert Policyalert_policy_responders — Responders of the Opsgenie Alert Policy.api_integration_name — The name of the Opsgenie API Integrationapi_integration_id — The ID of the Opsgenie API Integrationservice_id — The ID of the Opsgenie Serviceservice_incident_rule_id — The ID of the Opsgenie Service Incident Rulealert_policy_id — The ID of the Opsgenie Alert Policyalert_policy_filter — Filters of the Opsgenie Alert Policyteam_id — The ID of the Opsgenie Teamteam_routing_rule_name — The name of the Opsgenie Team Routing Rulealert_policy_name — Name of the Opsgenie Alert Policynotification_policy_id — The ID of the Opsgenie Notification Policyteam_name — The name of the Opsgenie Teamteam_routing_rule_id — The ID of the Opsgenie Team Routing Ruleservice_name — The name of the Opsgenie Servicealert_policy_priority — Priority of the Opsgenie Alert Policyapi_integration_api_key — API key of the created integrationescalation_name — Name of the Opsgenie Escalationuser_id — The ID of the Opsgenie UserTerraform Module to define a consistent naming convention by (namespace, stage,
Terraform module that provision an S3 bucket to store the terraform.tfstate file
Terraform Module that defines a VPC with public/private subnets across multiple
Terraform module to provision an AWS Elastic Beanstalk Environment