From 2e664bbb1f8d380120f30edacee8f956d8b56f29 Mon Sep 17 00:00:00 2001 From: Markus Tacker Date: Mon, 19 Jun 2023 13:11:37 +0200 Subject: [PATCH] fix(cdk): use eu-west-1 region --- README.md | 2 +- cdk/hosting.ts | 2 +- cdk/map.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 463a3f8b..223be89c 100644 --- a/README.md +++ b/README.md @@ -76,5 +76,5 @@ Store the stack name and the region as a variable: ```bash gh variable set STACK_NAME --env production --body "${STACK_NAME:-hello-nrfcloud-web}" -gh variable set AWS_REGION --env production --body "eu-central-1" +gh variable set AWS_REGION --env production --body "eu-west-1" ``` diff --git a/cdk/hosting.ts b/cdk/hosting.ts index e147ddea..e50e9c20 100644 --- a/cdk/hosting.ts +++ b/cdk/hosting.ts @@ -31,7 +31,7 @@ new HostingApp(stackName, { domainName !== undefined && certificateId !== undefined ? { certificateId, domainName } : undefined, - region: process.env.AWS_REGION ?? 'eu-central-1', + region: process.env.AWS_REGION ?? 'eu-west-1', gitHubOICDProviderArn: await ensureGitHubOIDCProvider({ iam, }), diff --git a/cdk/map.ts b/cdk/map.ts index 5bb68607..d1993695 100644 --- a/cdk/map.ts +++ b/cdk/map.ts @@ -12,5 +12,5 @@ for (const [k, v] of Object.entries({ new MapApp(stackName, { domainName, - region: process.env.AWS_REGION ?? 'eu-central-1', + region: process.env.AWS_REGION ?? 'eu-west-1', })