Ver Fonte

Merge pull request #724 from mdr-engineering/feature/ftd_MSOCI-2207_TeleportWAF

Enables WAF for Teleport in Count Only Mode
Frederick Damstra há 3 anos atrás
pai
commit
f8cf3b8c76

+ 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" {