Skip to content

Commit

Permalink
chore(infra): adds env variables for infra
Browse files Browse the repository at this point in the history
  • Loading branch information
nebulaic-labs committed Aug 15, 2023
1 parent 0ed8edd commit 9e481af
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
8 changes: 8 additions & 0 deletions infra/production/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,14 @@ const service = new awsx.ecs.FargateService("dpopp-iam", {
name: "ZKSYNC_ERA_MAINNET_ENDPOINT",
valueFrom: `${IAM_SERVER_SSM_ARN}:ZKSYNC_ERA_MAINNET_ENDPOINT::`,
},
{
name: "PASSPORT_SCORER_BACKEND",
valueFrom: `${IAM_SERVER_SSM_ARN}:PASSPORT_SCORER_BACKEND::`,
},
{
name: "TRUSTA_LABS_ACCESS_TOKEN",
valueFrom: `${IAM_SERVER_SSM_ARN}:TRUSTA_LABS_ACCESS_TOKEN::`,
},
],
},
},
Expand Down
8 changes: 8 additions & 0 deletions infra/review/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,14 @@ const service = new awsx.ecs.FargateService("dpopp-iam", {
name: "ZKSYNC_ERA_MAINNET_ENDPOINT",
valueFrom: `${IAM_SERVER_SSM_ARN}:ZKSYNC_ERA_MAINNET_ENDPOINT::`,
},
{
name: "PASSPORT_SCORER_BACKEND",
valueFrom: `${IAM_SERVER_SSM_ARN}:PASSPORT_SCORER_BACKEND::`,
},
{
name: "TRUSTA_LABS_ACCESS_TOKEN",
valueFrom: `${IAM_SERVER_SSM_ARN}:TRUSTA_LABS_ACCESS_TOKEN::`,
},
],
},
},
Expand Down
8 changes: 8 additions & 0 deletions infra/staging/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,14 @@ const service = new awsx.ecs.FargateService("dpopp-iam", {
name: "ZKSYNC_ERA_MAINNET_ENDPOINT",
valueFrom: `${IAM_SERVER_SSM_ARN}:ZKSYNC_ERA_MAINNET_ENDPOINT::`,
},
{
name: "PASSPORT_SCORER_BACKEND",
valueFrom: `${IAM_SERVER_SSM_ARN}:PASSPORT_SCORER_BACKEND::`,
},
{
name: "TRUSTA_LABS_ACCESS_TOKEN",
valueFrom: `${IAM_SERVER_SSM_ARN}:TRUSTA_LABS_ACCESS_TOKEN::`,
},
],
},
},
Expand Down

0 comments on commit 9e481af

Please sign in to comment.