Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade typerighter cdk dependencies #474

Merged
merged 2 commits into from
Jul 12, 2024
Merged

Conversation

Fweddi
Copy link
Contributor

@Fweddi Fweddi commented Jul 12, 2024

What does this change?

This upgrades typerighter's cdk dependencies, and should resolve some vulnerabilities from older libraries.

How to test

CDK tests should pass and synth successfully.

Deploy to CODE. The generated Cloudformation template should successfully update the rule database to use a 'PRIVATE_WITH_EGRESS' subnet.

The database should work the same as before - test by searching some rules on https://manager.typerighter.code.dev-gutools.co.uk.

We should also be able to connect to the database locally.

Tests complete

  • CDK synths successfully
  • CDK tests pass
  • Deploy to CODE
  • Test rule search on CODE
  • Connect locally to CODE DB

@Fweddi Fweddi requested a review from a team as a code owner July 12, 2024 14:38
PRIVATE_WITH_NAT is deprecated. Note that PRIVATE_WITH_EGRESS defaults to the same behaviour as PRIVATE_WITH_NAT, but has the option to set natGateways to 0.

If we are confident that our subnet will never need to make requests to the internet, we can opt to use PRIVATE_ISOLATED instead.
@Fweddi Fweddi force-pushed the fp/typerighter-cdk-updates branch from 1511957 to f3f672b Compare July 12, 2024 14:40
Copy link
Member

@davidfurey davidfurey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Snapshot tests pass, so this is a noop in terms of the generated cloudformation

@Fweddi
Copy link
Contributor Author

Fweddi commented Jul 12, 2024

Snapshot tests pass, so this is a noop in terms of the generated cloudformation

Quite right, I hadn't noticed! Even more confidence 😄

@Fweddi Fweddi merged commit 2d7a5cd into main Jul 12, 2024
1 check passed
@Fweddi Fweddi deleted the fp/typerighter-cdk-updates branch July 12, 2024 15:59
@prout-bot
Copy link

Seen on Rule Manager (merged by @Fweddi 10 minutes and 3 seconds ago) Please check your changes!

@prout-bot
Copy link

Overdue on Checker (merged by @Fweddi 15 minutes and 3 seconds ago) What's gone wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants