소스 검색

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

Enables WAF for Teleport in Count Only Mode
Frederick Damstra 3 년 전
부모
커밋
f8cf3b8c76
2개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제
  1. 5 0
      bin/apply_last_updated_modules
  2. 1 1
      test/aws-us-gov/mdr-test-c2/090-instance-teleport/terragrunt.hcl

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