terraform-aws-fsx-status-monitor

Monitors the FSx lifecycle status of all volumes in an AWS account and sends out notifications when a volume is not in the AVAILABLE state.

APACHE-2.0 License

Stars
0

terraform-aws-fsx-health

This module deploys a Lambda function that checks the health of FSx file systems and sends a notification if a file system is unhealthy.

Requirements

Name Version
terraform >= 1.0
archive >=2.4.0
aws >= 5.32.0
random >=3.5.1

Providers

Name Version
archive >=2.4.0
aws >= 5.32.0

Modules

No modules.

Resources

Name Type
aws_cloudwatch_event_rule.this resource
aws_cloudwatch_event_target.fsx_health_lambda_target resource
aws_cloudwatch_log_group.this resource
aws_cloudwatch_metric_alarm.this resource
aws_iam_policy.this resource
aws_iam_role.this resource
aws_iam_role_policy_attachment.fsx_health_permissions resource
aws_iam_role_policy_attachment.this resource
aws_lambda_function.this resource
aws_lambda_permission.allow_cw_call_lambda resource
archive_file.status_checker_code data source
aws_caller_identity.current data source
aws_region.current data source

Inputs

Name Description Type Default Required
alarm_actions The list of actions to execute when this alarm transitions into an ALARM state from any other state. Each action is specified as an Amazon Resource Name (ARN). Default is null. list(string) null no
cloudwatch_alarms_treat_missing_data Sets how the alarms handle missing data points. The following values are supported: missing, ignore, breaching and notBreaching. Default is breaching. string "breaching" no
enable_cloudwatch_alarms Setup CloudWatch alarms for the FSx filesystem state. For each state a separate alarm will be created. Default is false. bool false no
filesystem_ids List of filesystem identifiers. Default is empty list. list(string) [] no
ignore_states Suppress warnings for the listed FSx states. Default: ['CREATING', 'UPDATING'] list(string) [ "CREATING", "UPDATING"] no
insufficient_data_actions The list of actions to execute when this alarm transitions into an INSUFFICIENT_DATA state from any other state. Each action is specified as an Amazon Resource Name (ARN). Default is null. list(string) null no
lambda_insights_layers_arn The ARN of the Lambda Insights layer. Default is null. string null no
log_retion_period_in_days Number of days logs will be retained. Default is 365 days. number 365 no
memory_size Amount of memory in MByte that the Lambda Function can use at runtime. Default is 160. number 160 no
name Name of the health monitor. Default is rds_status_monitor. string "rds_status_monitor" no
ok_actions The list of actions to execute when this alarm transitions into an OK state from any other state. Each action is specified as an Amazon Resource Name (ARN). Default is null list(string) null no
schedule_expression The schedule expression for the CloudWatch event rule. Default is 'rate(5 minutes)'. string "rate(5 minutes)" no
tags A map of tags to add to all resources. Default is empty map. map(string) {} no
timeout The amount of time that Lambda allows a function to run before stopping it. Default is 30 seconds. number 30 no

Outputs

Name Description
cloudwatch_metric_alarm_arns A map consisting of FSx filesystem identifiers and their CloudWatch metric alarm ARNs.
role_arn The ARN of the IAM role.
Badges
Extracted from project README
Terraform Version License
Related Projects