cloudwatch-dashboard

HENNGE/cloudwatch-dashboard/aws

Terraform Module HCL AWS ⏱ stale 2y 4mo

Terraforrm module which creates AWS Cloudwatch Dashboard.

Install

module "cloudwatch-dashboard" {
source = "HENNGE/cloudwatch-dashboard/aws"
version = "1.0.2"
}
⭐ Source on GitHub 📦 Registry page

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)

NameTypeDescriptionDefault
namestringName of the dashboard. required
widgetsanyList of Widget object (obtained from modules/widget, terraform object) to attachnull
endstringThe end of the time range to use for each widget on the dashboard when the dashbnull
startstringThe start of the time range to use for each widget on the dashboard. You can spenull
periodOverridestringUse this field to specify the period for the graphs when the dashboard loads. Spnull

Outputs (1)

dashboard_arn — The Amazon Resource Name (ARN) of the dashboard.

Resources (1)

aws_cloudwatch_dashboard

Details

FrameworkTerraform Module
LanguageHCL
Version1.0.2
Cloud AWS
★ Stars9
Forks9
Total downloads419.1k
Inputs5
Outputs1
Resources1
LicenseApache-2.0
NamespaceHENNGE
Updated