diff --git a/addons/monitoring/.header.md b/addons/monitoring/.header.md index 664af05..ec24d94 100644 --- a/addons/monitoring/.header.md +++ b/addons/monitoring/.header.md @@ -12,8 +12,8 @@ This includes: # Preparation -> Note: The documented examples and links in this README may assume use of `module.fleet` instead of `module.fleet`. The monitoring example configuration can be modified as documented below, if your fleet module is named `fleet` instead of `main` -> - A search and replace of `module.fleet` -> `module.fleet` +> Note: The documented examples and links in this README may assume use of `module.fleet` instead of `module.main`. The monitoring example configuration can be modified as documented below, if your fleet module is named `fleet` instead of `main` +> - A search and replace of `module.fleet` -> `module.main` Some of the for_each and counts in this module cannot pre-determine the numbers until the `main` fleet module is applied. @@ -31,7 +31,7 @@ https://github.com/fleetdm/fleet-terraform/blob/main/example/main.tf for details ``` module "monitoring" { - source = "github.com/fleetdm/fleet-terraform//addons/monitoring?ref=tf-mod-addon-monitoring-v1.8.0" + source = "github.com/fleetdm/fleet-terraform//addons/monitoring?ref=tf-mod-addon-monitoring-v1.9.0" customer_prefix = local.customer fleet_ecs_service_name = module.fleet.byo-vpc.byo-db.byo-ecs.service.name albs = [ @@ -69,6 +69,7 @@ module "monitoring" { mysql_database = module.fleet.byo-vpc.rds.cluster_database_name mysql_user = module.fleet.byo-vpc.rds.cluster_master_username mysql_password_secret_name = "${local.customer}-database-password" + mysql_tls_config = "true" rds_security_group_id = module.fleet.byo-vpc.rds.security_group_id subnet_ids = module.fleet.vpc.private_subnets vpc_id = module.fleet.vpc.vpc_id diff --git a/addons/monitoring/README.md b/addons/monitoring/README.md index d2a1702..076ea05 100644 --- a/addons/monitoring/README.md +++ b/addons/monitoring/README.md @@ -12,8 +12,8 @@ This includes: # Preparation -> Note: The documented examples and links in this README may assume use of `module.fleet` instead of `module.fleet`. The monitoring example configuration can be modified as documented below, if your fleet module is named `fleet` instead of `main` -> - A search and replace of `module.fleet` -> `module.fleet` +> Note: The documented examples and links in this README may assume use of `module.fleet` instead of `module.main`. The monitoring example configuration can be modified as documented below, if your fleet module is named `fleet` instead of `main` +> - A search and replace of `module.fleet` -> `module.main` Some of the for\_each and counts in this module cannot pre-determine the numbers until the `main` fleet module is applied. @@ -31,7 +31,7 @@ https://github.com/fleetdm/fleet-terraform/blob/main/example/main.tf for details ``` module "monitoring" { - source = "github.com/fleetdm/fleet-terraform//addons/monitoring?ref=tf-mod-addon-monitoring-v1.8.0" + source = "github.com/fleetdm/fleet-terraform//addons/monitoring?ref=tf-mod-addon-monitoring-v1.9.0" customer_prefix = local.customer fleet_ecs_service_name = module.fleet.byo-vpc.byo-db.byo-ecs.service.name albs = [ @@ -69,6 +69,7 @@ module "monitoring" { mysql_database = module.fleet.byo-vpc.rds.cluster_database_name mysql_user = module.fleet.byo-vpc.rds.cluster_master_username mysql_password_secret_name = "${local.customer}-database-password" + mysql_tls_config = "true" rds_security_group_id = module.fleet.byo-vpc.rds.security_group_id subnet_ids = module.fleet.vpc.private_subnets vpc_id = module.fleet.vpc.vpc_id @@ -157,7 +158,7 @@ No requirements. | Name | Version | |------|---------| | [archive](#provider\_archive) | 2.7.1 | -| [aws](#provider\_aws) | 6.26.0 | +| [aws](#provider\_aws) | 6.33.0 | | [null](#provider\_null) | 3.2.4 | ## Modules @@ -206,7 +207,7 @@ No modules. |------|-------------|------|---------|:--------:| | [acm\_certificate\_arn](#input\_acm\_certificate\_arn) | n/a | `string` | `null` | no | | [albs](#input\_albs) | n/a |
list(object({
name = string
arn_suffix = string
target_group_name = string
target_group_arn_suffix = string
min_containers = optional(string, 1)
ecs_service_name = string
alert_thresholds = optional(
object({
HTTPCode_ELB_5XX_Count = object({
period = number
threshold = number
})
HTTPCode_Target_5XX_Count = object({
period = number
threshold = number
})
}),
{
HTTPCode_ELB_5XX_Count = {
period = 120
threshold = 0
},
HTTPCode_Target_5XX_Count = {
period = 120
threshold = 0
}
}
)
}))
| `[]` | no | -| [cron\_monitoring](#input\_cron\_monitoring) | n/a |
object({
mysql_host = string
mysql_database = string
mysql_user = string
mysql_password_secret_name = string
vpc_id = string
subnet_ids = list(string)
rds_security_group_id = string
delay_tolerance = string
run_interval = string
log_retention_in_days = optional(number, 7)
ignore_list = optional(list(string), [])
})
| `null` | no | +| [cron\_monitoring](#input\_cron\_monitoring) | n/a |
object({
mysql_host = string
mysql_database = string
mysql_user = string
mysql_password_secret_name = string
mysql_tls_config = optional(string, "true")
vpc_id = string
subnet_ids = list(string)
rds_security_group_id = string
delay_tolerance = string
run_interval = string
log_retention_in_days = optional(number, 7)
ignore_list = optional(list(string), [])
})
| `null` | no | | [customer\_prefix](#input\_customer\_prefix) | n/a | `string` | `"fleet"` | no | | [default\_sns\_topic\_arns](#input\_default\_sns\_topic\_arns) | n/a | `list(string)` | `[]` | no | | [fleet\_ecs\_service\_name](#input\_fleet\_ecs\_service\_name) | n/a | `string` | `null` | no |