From 1299f441de98b406f22f3058bc5fd0d15ff1f033 Mon Sep 17 00:00:00 2001 From: Jorge Falcon <22119513+BCTBB@users.noreply.github.com> Date: Thu, 15 May 2025 11:43:04 -0400 Subject: [PATCH] Monitoring addon - broken links and documentation updates (#42) - Updated broken links - Updated formatting of some wording - Added note around modifying example for use with `module.fleet` vs `module.main` --- addons/monitoring/.header.md | 14 ++++++++------ addons/monitoring/README.md | 19 +++++++++++-------- 2 files changed, 19 insertions(+), 14 deletions(-) diff --git a/addons/monitoring/.header.md b/addons/monitoring/.header.md index 0fb67c2..5675d0a 100644 --- a/addons/monitoring/.header.md +++ b/addons/monitoring/.header.md @@ -12,24 +12,26 @@ This includes: # Preparation +> Note: The documented examples and links in this README may assume use of `module.main` 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.main` -> `module.fleet` + Some of the for_each and counts in this module cannot pre-determine the numbers until the `main` fleet module is applied. -You will need to `terraform apply -target module.main` prior applying monitoring assuming the use of a configuration matching the example at https://github.com/fleetdm/fleet/blob/main/terraform/example/main.tf. +You will need to `terraform apply -target module.main` prior to applying monitoring assuming the use of a configuration matching the example at https://github.com/fleetdm/fleet-terraform/blob/main/example/main.tf. -Multiple alb support was added in order to allow monitoring `saml-auth-proxy`. See https://github.com/fleetdm/fleet/tree/main/terraform/addons/saml-auth-proxy +Multiple alb support was added in order to allow monitoring `saml-auth-proxy`. See https://github.com/fleetdm/fleet-terraform/tree/main/addons/saml-auth-proxy # Example configuration This assumes your fleet module is `main` and is configured with it's default documentation. - https://github.com/fleetdm/fleet/blob/main/terraform/example/main.tf for details. +https://github.com/fleetdm/fleet-terraform/blob/main/example/main.tf for details. - -Note if you haven't specified defined `local.customer` or customized service names, the default is "fleet" for anywhere that `local.customer` is specified below. +> Note: If you haven't specified defined `local.customer` or customized service names, the default is "fleet" for anywhere that `local.customer` is specified below. ``` module "monitoring" { - source = "github.com/fleetdm/fleet-terraform//addons/monitoring?ref=tf-mod-addon-monitoring-v1.4.0" + source = "github.com/fleetdm/fleet-terraform//addons/monitoring?ref=tf-mod-addon-monitoring-v1.5.1" customer_prefix = local.customer fleet_ecs_service_name = module.main.byo-vpc.byo-db.byo-ecs.service.name albs = [ diff --git a/addons/monitoring/README.md b/addons/monitoring/README.md index fe01f0d..7dd7736 100644 --- a/addons/monitoring/README.md +++ b/addons/monitoring/README.md @@ -12,23 +12,26 @@ This includes: # Preparation +> Note: The documented examples and links in this README may assume use of `module.main` 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.main` -> `module.fleet` + Some of the for\_each and counts in this module cannot pre-determine the numbers until the `main` fleet module is applied. -You will need to `terraform apply -target module.main` prior applying monitoring assuming the use of a configuration matching the example at https://github.com/fleetdm/fleet/blob/main/terraform/example/main.tf. +You will need to `terraform apply -target module.main` prior to applying monitoring assuming the use of a configuration matching the example at https://github.com/fleetdm/fleet-terraform/blob/main/example/main.tf. -Multiple alb support was added in order to allow monitoring `saml-auth-proxy`. See https://github.com/fleetdm/fleet/tree/main/terraform/addons/saml-auth-proxy +Multiple alb support was added in order to allow monitoring `saml-auth-proxy`. See https://github.com/fleetdm/fleet-terraform/tree/main/addons/saml-auth-proxy # Example configuration This assumes your fleet module is `main` and is configured with it's default documentation. - https://github.com/fleetdm/fleet/blob/main/terraform/example/main.tf for details. +https://github.com/fleetdm/fleet-terraform/blob/main/example/main.tf for details. -Note if you haven't specified defined `local.customer` or customized service names, the default is "fleet" for anywhere that `local.customer` is specified below. +> Note: If you haven't specified defined `local.customer` or customized service names, the default is "fleet" for anywhere that `local.customer` is specified below. ``` module "monitoring" { - source = "github.com/fleetdm/fleet-terraform//addons/monitoring?ref=tf-mod-addon-monitoring-v1.4.0" + source = "github.com/fleetdm/fleet-terraform//addons/monitoring?ref=tf-mod-addon-monitoring-v1.5.1" customer_prefix = local.customer fleet_ecs_service_name = module.main.byo-vpc.byo-db.byo-ecs.service.name albs = [ @@ -105,9 +108,9 @@ No requirements. | Name | Version | |------|---------| -| [archive](#provider\_archive) | 2.7.0 | -| [aws](#provider\_aws) | 5.81.0 | -| [null](#provider\_null) | 3.2.3 | +| [archive](#provider\_archive) | 2.7.1 | +| [aws](#provider\_aws) | 5.97.0 | +| [null](#provider\_null) | 3.2.4 | ## Modules