This repository was archived by the owner on Aug 6, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
cdk-infra/lib/constructs/api Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ export class WebhookEnvConstruct extends Construct {
2121
2222 const dbName = StringParameter . valueFromLookup ( this , `${ ssmPrefix } /atlas/dbname` ) ;
2323 const snootyDbName = StringParameter . valueFromLookup ( this , `${ ssmPrefix } /atlas/collections/snooty` ) ;
24+ const repoBranchesCollection = StringParameter . valueFromLookup ( this , `${ ssmPrefix } /atlas/collections/repo` ) ;
2425 const dbUsername = StringParameter . valueFromLookup ( this , `${ ssmPrefix } /atlas/username` ) ;
2526 const dbHost = StringParameter . valueFromLookup ( this , `${ ssmPrefix } /atlas/host` ) ;
2627 const jobCollection = StringParameter . valueFromLookup ( this , `${ ssmPrefix } /atlas/collections/job/queue` ) ;
@@ -37,6 +38,7 @@ export class WebhookEnvConstruct extends Construct {
3738 MONGO_ATLAS_URL : `mongodb+srv://${ dbUsername } :${ dbPassword } @${ dbHost } /admin?retryWrites=true` ,
3839 DB_NAME : dbName ,
3940 SNOOTY_DB_NAME : snootyDbName ,
41+ REPO_BRANCHES_COL_NAME : repoBranchesCollection ,
4042 JOB_QUEUE_COL_NAME : jobCollection ,
4143 NODE_CONFIG_DIR : './config' ,
4244 JOBS_QUEUE_URL : jobsQueue . queueUrl ,
You can’t perform that action at this time.
0 commit comments