Skip to content

Commit

Permalink
fix(infra): point to cgrants api on environment (passportxyz#2004)
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-schultz authored Dec 27, 2023
1 parent a30fe1e commit cbeb871
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 4 additions & 0 deletions infra/aws/iam_secrets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ export const getIamSecrets = (PASSPORT_VC_SECRETS_ARN: string, IAM_SERVER_SSM_AR
name: "CGRANTS_API_TOKEN",
valueFrom: `${IAM_SERVER_SSM_ARN}:CGRANTS_API_TOKEN::`,
},
{
name: "CGRANTS_API_URL",
valueFrom: `${IAM_SERVER_SSM_ARN}:CGRANTS_API_URL::`,
},
{
name: "GTC_STAKING_GRAPH_API_KEY",
valueFrom: `${IAM_SERVER_SSM_ARN}:GTC_STAKING_GRAPH_API_KEY::`,
Expand Down
3 changes: 0 additions & 3 deletions infra/aws/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -289,9 +289,6 @@ const containerDefinitions = pulumi.all([redisConnectionUrl]).apply(([_redisConn
protocol: "tcp"
}],
environment: [{
name: "CGRANTS_API_URL",
value: "https://api.scorer.gitcoin.co/cgrants"
}, {
name: "REDIS_URL",
value: _redisConnectionUrl,
}],
Expand Down

0 comments on commit cbeb871

Please sign in to comment.