Skip to content

Commit 9b65766

Browse files
committed
us-east-2 find-replace
1 parent 539c7f5 commit 9b65766

File tree

9 files changed

+11
-11
lines changed

9 files changed

+11
-11
lines changed

.env.sample

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ AadClientSecret=""
22
RunEnvironment="dev"
33
JwtSigningKey="YOUR_RANDOM_STRING HERE"
44
VITE_RUN_ENVIRONMENT="local-dev"
5-
AWS_REGION=us-east-1
5+
AWS_REGION=us-east-2

.github/workflows/deploy-dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ jobs:
122122
with:
123123
role-to-assume: arn:aws:iam::427040638965:role/GitHubActionsRole
124124
role-session-name: Core_Dev_Deployment_${{ github.run_id }}
125-
aws-region: us-east-1
125+
aws-region: us-east-2
126126

127127
- name: Publish to AWS
128128
run: make deploy_dev

.github/workflows/deploy-prod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ jobs:
108108
with:
109109
role-to-assume: arn:aws:iam::298118738376:role/GitHubActionsRole
110110
role-session-name: Core_Prod_Deployment_${{ github.run_id }}
111-
aws-region: us-east-1
111+
aws-region: us-east-2
112112
- name: Publish to AWS
113113
run: make deploy_prod
114114
env:

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
with:
1616
role-to-assume: arn:aws:iam::427040638965:role/GitHubActionsRole
1717
role-session-name: Core_Dev_Deployment
18-
aws-region: us-east-1
18+
aws-region: us-east-2
1919

2020
- name: Get AWS Caller Identity
2121
run: aws sts get-caller-identity

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ integration_test_directory_root = tests/live_integration/
1414
application_key=infra-core-api
1515
application_name="InfraCoreApi"
1616
17-
region="us-east-1"
17+
region="us-east-2"
1818

1919
# DO NOT CHANGE
2020
common_params = --no-confirm-changeset \

generate_jwt.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export const getSecretValue = async (secretId) => {
2121
};
2222

2323
const secrets = await getSecretValue("infra-core-api-testing-credentials");
24-
const client = new STSClient({ region: "us-east-1" });
24+
const client = new STSClient({ region: "us-east-2" });
2525
const command = new GetCallerIdentityCommand({});
2626
let data;
2727
try {

src/common/config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ const genericConfig: GenericConfigType = {
7676
EntraSecretName: "infra-core-api-entra",
7777
EntraReadOnlySecretName: "infra-core-api-ro-entra",
7878
UpcomingEventThresholdSeconds: 1800, // 30 mins
79-
AwsRegion: process.env.AWS_REGION || "us-east-1",
79+
AwsRegion: process.env.AWS_REGION || "us-east-2",
8080
EntraTenantId: "c8d9148f-9a59-4db3-827d-42ea0c2b6e2e",
8181
MerchStorePurchasesTableName: "infra-merchstore-purchase-history",
8282
MerchStoreMetadataTableName: "infra-merchstore-metadata",
@@ -113,7 +113,7 @@ const environmentConfig: EnvironmentConfigType = {
113113
"https://core.aws.qa.acmuiuc.org/api/v1/membership",
114114
EmailDomain: "aws.qa.acmuiuc.org",
115115
SqsQueueUrl:
116-
"https://sqs.us-east-1.amazonaws.com/427040638965/infra-core-api-sqs",
116+
"https://sqs.us-east-2.amazonaws.com/427040638965/infra-core-api-sqs",
117117
PaidMemberGroupId: "9222451f-b354-4e64-ba28-c0f367a277c2",
118118
PaidMemberPriceId: "price_1R4TcTDGHrJxx3mKI6XF9cNG",
119119
AadValidReadOnlyClientId: "2c6a0057-5acc-496c-a4e5-4adbf88387ba",
@@ -139,7 +139,7 @@ const environmentConfig: EnvironmentConfigType = {
139139
"https://core.acm.illinois.edu/api/v1/membership",
140140
EmailDomain: "acm.illinois.edu",
141141
SqsQueueUrl:
142-
"https://sqs.us-east-1.amazonaws.com/298118738376/infra-core-api-sqs",
142+
"https://sqs.us-east-2.amazonaws.com/298118738376/infra-core-api-sqs",
143143
PaidMemberGroupId: "172fd9ee-69f0-4384-9786-41ff1a43cf8e",
144144
PaidMemberPriceId: "price_1MUGIRDiGOXU9RuSChPYK6wZ",
145145
AadValidReadOnlyClientId: "2c6a0057-5acc-496c-a4e5-4adbf88387ba",

tests/e2e/base.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export const getSecretValue = async (
88
secretId: string,
99
): Promise<Record<string, string | number | boolean> | null> => {
1010
const smClient = new SecretsManagerClient({
11-
region: process.env.AWS_REGION ?? "us-east-1",
11+
region: process.env.AWS_REGION ?? "us-east-2",
1212
});
1313
const data = await smClient.send(
1414
new GetSecretValueCommand({ SecretId: secretId }),

tests/live/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export const getSecretValue = async (
99
secretId: string,
1010
): Promise<Record<string, string | number | boolean> | null> => {
1111
const smClient = new SecretsManagerClient({
12-
region: process.env.AWS_REGION || "us-east-1",
12+
region: process.env.AWS_REGION || "us-east-2",
1313
});
1414
const data = await smClient.send(
1515
new GetSecretValueCommand({ SecretId: secretId }),

0 commit comments

Comments
 (0)