set VPC and scaling capacity dynamically#101
Merged
AnJuHyppolite merged 1 commit intodevfrom Oct 9, 2025
Merged
Conversation
005e93d to
46b3054
Compare
2f272c7 to
008159a
Compare
casewalker
approved these changes
Oct 6, 2025
casewalker
left a comment
There was a problem hiding this comment.
I've never seen it run, but it looks promising! Let me know if I can help at all with more CDK stuff!
package.json
Outdated
Comment on lines
+11
to
+17
| "deploy:db:dev": "cd infra && cdk deploy FeedbackDbStack --profile innov-platform-dev --app 'npx tsx bin/feedback.ts' -c ENV=dev", | ||
| "deploy:db:prod": "cd infra && cdk deploy FeedbackDbStack --profile innov-platform-prod --app 'npx tsx bin/feedback.ts' -c ENV=prod", | ||
| "diff": "cdk diff", | ||
| "lint": "eslint . --ext .ts", | ||
| "prettier-format": "prettier --config .prettierrc 'src/**/*.ts' --write", | ||
| "sso:login:dev": "aws sso login --profile innov-platform-dev", | ||
| "sso:login:prod": "aws sso login --profile innov-platform-prod", |
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
b9cb1ed to
0a22a6f
Compare
0a22a6f to
bcd7695
Compare
AnJuHyppolite
added a commit
that referenced
this pull request
Nov 7, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR updates the AWS CDK infrastructure to dynamically configure the VPC and
serverlessV2MinCapacityfor the Aurora Serverless v2 clusters based on the deployment environment (devorprod). Previously, values were hardcoded for dev, limiting environment-specific scaling. This change ensures that the database scales appropriately and uses the correct VPC for each environment.Ticket
This work resolves Set VPC and serverlessV2MinCapacity Dynamically Based on Deployment Environment #592.
Approach
devif the environment isn't specified.Steps to Test
~/.aws/credentialsand~/.aws/configwithdevandprodprofile names.aws sso loginscript).Notes