From 84becb6cee6bdee31861a1f5d4d9bc16e06432bb Mon Sep 17 00:00:00 2001 From: milldr Date: Wed, 18 Oct 2023 09:52:17 -0700 Subject: [PATCH] fixed namespace issues with datadog-synthetics-private-location --- modules/datadog-synthetics-private-location/README.md | 2 +- modules/datadog-synthetics-private-location/main.tf | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/datadog-synthetics-private-location/README.md b/modules/datadog-synthetics-private-location/README.md index 0aa34dc2e..8567d102f 100644 --- a/modules/datadog-synthetics-private-location/README.md +++ b/modules/datadog-synthetics-private-location/README.md @@ -146,7 +146,7 @@ Environment variables: | Name | Source | Version | |------|--------|---------| | [datadog\_configuration](#module\_datadog\_configuration) | ../datadog-configuration/modules/datadog_keys | n/a | -| [datadog\_synthetics\_private\_location](#module\_datadog\_synthetics\_private\_location) | cloudposse/helm-release/aws | 0.10.0 | +| [datadog\_synthetics\_private\_location](#module\_datadog\_synthetics\_private\_location) | cloudposse/helm-release/aws | 0.10.1 | | [eks](#module\_eks) | cloudposse/stack-config/yaml//modules/remote-state | 1.5.0 | | [iam\_roles](#module\_iam\_roles) | ../account-map/modules/iam-roles | n/a | | [this](#module\_this) | cloudposse/label/null | 0.25.0 | diff --git a/modules/datadog-synthetics-private-location/main.tf b/modules/datadog-synthetics-private-location/main.tf index 821ed9b05..107cfc8eb 100644 --- a/modules/datadog-synthetics-private-location/main.tf +++ b/modules/datadog-synthetics-private-location/main.tf @@ -16,7 +16,7 @@ resource "datadog_synthetics_private_location" "this" { module "datadog_synthetics_private_location" { source = "cloudposse/helm-release/aws" - version = "0.10.0" + version = "0.10.1" name = module.this.name chart = var.chart @@ -24,7 +24,9 @@ module "datadog_synthetics_private_location" { repository = var.repository chart_version = var.chart_version - namespace = var.kubernetes_namespace + kubernetes_namespace = var.kubernetes_namespace + + # Usually set to `false` if deploying eks/datadog-agent, since namespace will already be created create_namespace_with_kubernetes = var.create_namespace verify = var.verify