Explorar o código

Merge pull request #447 from mdr-engineering/hotfix/ftd_na_FixSync_FourHourly

Updates Datasync Module; Minor fix for xdrtest Startup Script
Frederick Damstra %!s(int64=3) %!d(string=hai) anos
pai
achega
92ec9b54ba

+ 2 - 2
bin/xdrtest

@@ -182,13 +182,13 @@ if __name__ == "__main__":
         if len(instances[p]) > 0:
             for i in ec2[p].instances.filter(InstanceIds=instances[p]):
                 if args.action == 'start':
-                    print(f'Starting instances in profile { p }: { instances[p] }')
+                    print(f'Starting instances in profile { p }: { i.instance_id }')
                     try:
                         i.start(DryRun=args.dry_run)
                     except Exception as e:
                         print(f'An error occured while starting instance {i.id}. Error: {e}. Skipping.')
                 elif args.action == 'stop':
-                    print(f'Stopping instances in profile { p }: { instances[p] }')
+                    print(f'Stopping instances in profile { p }: { i.instance_id }')
                     try:
                         i.stop(DryRun=args.dry_run)
                     except Exception as e:

+ 1 - 1
prod/aws-us-gov/mdr-prod-c2/205-customer-portal-lambda/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/customer_portal_lambda?ref=v3.0.0"
+  source = "git@github.xdr.accenturefederalcyber.com:mdr-engineering/xdr-terraform-modules.git//base/customer_portal_lambda?ref=v3.0.7"
 }
 
 dependency "vpc-system-services" {