Kaynağa Gözat

Enables WAF for Teleport in Count Only Mode

Also a minor fix to apply_last_updated_modules
Fred Damstra [afs macbook] 3 yıl önce
ebeveyn
işleme
1ee1b842e2

+ 5 - 0
bin/apply_last_updated_modules

@@ -36,6 +36,11 @@ for m in ${UPDATED_MODULES}; do
   echo \ Applying $m
   echo =============================================
   pushd $m
+  if [[ -f "../UNUSED.ACCOUNT" ]]; then
+    echo $i is unused. Continuing.
+    popd
+    continue
+  fi
   terragrunt init --upgrade && terragrunt apply
   EXITCODE=$?
   if [[ $EXITCODE != 0 ]]; then

+ 1 - 1
test/aws-us-gov/mdr-test-c2/090-instance-teleport/terragrunt.hcl

@@ -13,7 +13,7 @@ locals {
 # working directory, into a temporary folder, and execute your Terraform commands in that folder.
 terraform {
   # Double slash is intentional and required to show root of modules
-  source = "git@github.xdr.accenturefederalcyber.com:mdr-engineering/xdr-terraform-modules.git//base/teleport-single-instance?ref=v5.1.8"
+  source = "git@github.xdr.accenturefederalcyber.com:mdr-engineering/xdr-terraform-modules.git//base/teleport-single-instance?ref=v5.1.10"
 }
 
 dependency "vpc-system-services" {