initial commit
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
# Monitoring module
|
||||
This module deploys the default cloudwatch metric monitoring
|
||||
|
||||
## Notes
|
||||
Terraform lifecycle ignores tags to speed up terraform subsequent update. Cloudwatch alarm tags cannot be read on aws console anyway.
|
||||
|
||||
## Example
|
||||
```terraform
|
||||
module "alb-arns" {
|
||||
source = "../../modules/util/resource-list"
|
||||
resource-type = "alb"
|
||||
}
|
||||
|
||||
module "alb-monitoring" {
|
||||
for_each = toset(split(" ", data.external.alb-arns.result.result))
|
||||
source = "../../modules/ManagementGovernance/Monitoring.ALB"
|
||||
default-tags = local.default-tags
|
||||
load-balancer = each.value
|
||||
threshold-HealthHostCountMin = 1
|
||||
}
|
||||
|
||||
```
|
||||
Reference in New Issue
Block a user