health-events

cloudposse/health-events/aws

Terraform Module HCL AWS

Terraform module to configure AWS EventBridge Rules and SNS Notifications for AWS Personal Health Dashboard

Install
module "health-events" {
source = "cloudposse/health-events/aws"
version = "0.3.0"
}
⭐ Source on GitHub 📦 Registry page
README

terraform-aws-health-events ![Latest Release](https://github.com/cloudposse/terraform-aws-health-events/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) This module creates EventBridge (formerly CloudWatch Events) rules for AWS Personal Health Dashboard Events and an SNS topic. EventBridge will publish messages to this SNS topic, which can be subcribed to using this module as well. Since AWS Personal Health Dashboard is a global service, but since the KMS key and SNS topic are regional, this module is technically regional but only needs to be deployed once per account. --- This project is part of our comprehensive "SweetOp

Inputs (18)
NameTypeDescriptionDefault
kms_master_key_idstring The ID or alias of the customer master key (CMK) to use for encrypting the Ama required
enabledboolSet to false to prevent the module from creating any resources required
delimiterstringDelimiter to be used between `namespace`, `environment`, `stage`, `name` and `at required
label_key_casestringThe letter case of label keys (`tag` names) (i.e. `name`, `namespace`, `environm required
event_ruleslist(object({ name A list of Event Rules to use when creating EventBridge Rules for the AWS Persona required
namespacestringNamespace, which could be your organization name or abbreviation, e.g. 'eg' or ' required
environmentstringEnvironment, e.g. 'uw2', 'us-west-2', OR 'prod', 'staging', 'dev', 'UAT' required
stagestringStage, e.g. 'prod', 'staging', 'dev', OR 'source', 'build', 'test', 'deploy', 'r required
namestringSolution name, e.g. 'app' or 'jenkins' required
label_orderlist(string)The naming order of the id output and Name tag. Defaults to ["namespace", "envir required
regex_replace_charsstringRegex to replace chars with empty string in `namespace`, `environment`, `stage` required
id_length_limitnumberLimit `id` to this many characters (minimum 6). Set to `0` for unlimited length. required
label_value_casestringThe letter case of output label values (also used in `tags` and `id`). Possible required
tagsmap(string)Additional tags (e.g. `map('BusinessUnit','XYZ')`{}
subscribersmap(object({ protocol = stRequired configuration for subscribers to SNS topic.{}
contextanySingle object for setting entire context at once. See description of individual { "additional_tag_map": {}, "attribu
attributeslist(string)Additional attributes (e.g. `1`)[]
additional_tag_mapmap(string)Additional tags for appending to tags_as_list_of_maps. Not added to `tags`.{}
Outputs (2)
event_rule_names — The names of the created EventBridge Rules.
event_rule_arns — The ARNs of the created EventBridge Rules.
Resources (2)
aws_cloudwatch_event_ruleaws_cloudwatch_event_target
Details
FrameworkTerraform Module
LanguageHCL
Version0.3.0
Cloud AWS
★ Stars19
Forks7
Total downloads53.4k
Inputs18
Outputs2
Resources2
Examples1
LicenseApache-2.0
Namespacecloudposse
Updated