Skip to content

Commit

Permalink
feat(github): adding env vars to pulumi scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
nutrina committed Jun 14, 2022
1 parent 3a9437d commit 8792836
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 @@ -192,6 +192,14 @@ const service = new awsx.ecs.FargateService("dpopp-iam", {
name: "BRIGHTID_PRIVATE_KEY",
valueFrom: `${IAM_SERVER_SSM_ARN}:BRIGHTID_PRIVATE_KEY::`,
},
{
name: "GITHUB_CLIENT_ID",
valueFrom: `${IAM_SERVER_SSM_ARN}:GITHUB_CLIENT_ID::`,
},
{
name: "GITHUB_CLIENT_SECRET",
valueFrom: `${IAM_SERVER_SSM_ARN}:GITHUB_CLIENT_SECRET::`,
},
],
},
},
Expand Down
8 changes: 8 additions & 0 deletions infra/review/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,14 @@ const service = new awsx.ecs.FargateService("dpopp-iam", {
name: "BRIGHTID_PRIVATE_KEY",
valueFrom: `${IAM_SERVER_SSM_ARN}:BRIGHTID_PRIVATE_KEY::`,
},
{
name: "GITHUB_CLIENT_ID",
valueFrom: `${IAM_SERVER_SSM_ARN}:GITHUB_CLIENT_ID::`,
},
{
name: "GITHUB_CLIENT_SECRET",
valueFrom: `${IAM_SERVER_SSM_ARN}:GITHUB_CLIENT_SECRET::`,
},
],
},
},
Expand Down
8 changes: 8 additions & 0 deletions infra/staging/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,14 @@ const service = new awsx.ecs.FargateService("dpopp-iam", {
name: "BRIGHTID_PRIVATE_KEY",
valueFrom: `${IAM_SERVER_SSM_ARN}:BRIGHTID_PRIVATE_KEY::`,
},
{
name: "GITHUB_CLIENT_ID",
valueFrom: `${IAM_SERVER_SSM_ARN}:GITHUB_CLIENT_ID::`,
},
{
name: "GITHUB_CLIENT_SECRET",
valueFrom: `${IAM_SERVER_SSM_ARN}:GITHUB_CLIENT_SECRET::`,
},
],
},
},
Expand Down

0 comments on commit 8792836

Please sign in to comment.