cloudwatch-dashboard
HENNGE/cloudwatch-dashboard/aws
Terraforrm module which creates AWS Cloudwatch Dashboard.
Install
README
terraform-aws-cloudwatch-dashboard AWS Cloudwatch Dashboard is a built in dashboard inside Cloudwatch to monitor metrics. Creating them from console is easy, however if you want to manage and maintain it long term, console might not be the best way to do it. AWS provides a way to configure the dashboard via JSON which can be maintained by IaC such as terraform, but for now, terraform only accept JSON as input for everything inside the dashboard. As your dashboard grows, so the JSON source, making it quickly become unmaintainable. This modules is trying to modularize JSON input for cloudwatch dashboard resource in a documented way. Parameters are taken from here. Terraform versions Supported terraform versions are only >= 0.13. Example Example to create widget is in individual modules/widge
Inputs (5)
| Name | Type | Description | Default |
|---|---|---|---|
| name | string | Name of the dashboard. | required |
| widgets | any | List of Widget object (obtained from modules/widget, terraform object) to attach | null |
| end | string | The end of the time range to use for each widget on the dashboard when the dashb | null |
| start | string | The start of the time range to use for each widget on the dashboard. You can spe | null |
| periodOverride | string | Use this field to specify the period for the graphs when the dashboard loads. Sp | null |
Outputs (1)
dashboard_arn — The Amazon Resource Name (ARN) of the dashboard.