From 74da18d076943f2d2f48dd40bc3ec84ca15279bd Mon Sep 17 00:00:00 2001 From: Judd Sproba Date: Mon, 5 Feb 2024 20:50:02 -0800 Subject: [PATCH] added assetDomain locations for govcloud partition --- source/constructs/lib/s3-plugin/ec2-finder-stack.ts | 3 +++ source/constructs/lib/s3-plugin/ec2-worker-stack.ts | 3 +++ 2 files changed, 6 insertions(+) diff --git a/source/constructs/lib/s3-plugin/ec2-finder-stack.ts b/source/constructs/lib/s3-plugin/ec2-finder-stack.ts index ca837a1..deff54a 100644 --- a/source/constructs/lib/s3-plugin/ec2-finder-stack.ts +++ b/source/constructs/lib/s3-plugin/ec2-finder-stack.ts @@ -133,6 +133,9 @@ export class Ec2FinderStack extends Construct { 'aws-cn': { assetDomain: 'https://aws-gcr-solutions-assets.s3.cn-northwest-1.amazonaws.com.cn', }, + 'aws-us-gov': { + assetDomain: 'https://aws-gcr-solutions-assets.s3.amazonaws.com', + }, } }); diff --git a/source/constructs/lib/s3-plugin/ec2-worker-stack.ts b/source/constructs/lib/s3-plugin/ec2-worker-stack.ts index f02b43a..eddd351 100644 --- a/source/constructs/lib/s3-plugin/ec2-worker-stack.ts +++ b/source/constructs/lib/s3-plugin/ec2-worker-stack.ts @@ -171,6 +171,9 @@ export class Ec2WorkerStack extends Construct { 'aws-cn': { assetDomain: 'https://aws-gcr-solutions-assets.s3.cn-northwest-1.amazonaws.com.cn', }, + 'aws-us-gov': { + assetDomain: 'https://aws-gcr-solutions-assets.s3.amazonaws.com', + }, } });