Skip to content

Commit

Permalink
Merge pull request #62 from CS3219-AY2324S1/staging
Browse files Browse the repository at this point in the history
ci: fix
  • Loading branch information
raynerljm authored Nov 9, 2023
2 parents 8927e3b + e69472f commit 0fd9543
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/user-service/infra/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ const mongoUser = new mongodbatlas.DatabaseUser(
const clusterUri = mongoCluster.connectionStrings
.apply((str) => str[0].standardSrv)
.apply((str) => str.split("mongodb+srv://")[1]);
const connectionString = pulumi.interpolate`mongodb+srv://${mongoUser.username}:${mongoUser.password}@${clusterUri}/${MONGO_ATLAS_DB_NAME}?retryWrites=true&w=majority`;
const connectionString = pulumi.interpolate`mongodb+srv://${mongoUser.username}:${mongoUser.password}@${clusterUri}/${MONGO_ATLAS_DB_NAME}?retryWrites=true&w=majority&authSource=admin&directConnection=true`;

/**
* Provision ECS resources
Expand Down

0 comments on commit 0fd9543

Please sign in to comment.