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

feat: upgrade SST to v3 and migrate KMS to Pulumi #150

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

devin-ai-integration[bot]
Copy link
Contributor

@devin-ai-integration devin-ai-integration bot commented Nov 9, 2024

SST v3 Migration

Changes

  • Upgraded SST from v2 to v3
  • Migrated KMS functionality to Pulumi
  • Updated CloudWatch configuration for SST v3
  • Updated user table initialization with Pulumi types
  • Migrated stack configuration to SST v3
  • Added type validation for API request bodies
  • Test changes in development environment

Implementation Details

  • Updated SST imports to use sst/constructs
  • Migrated KMS key management to Pulumi for better blockchain signing support
  • Updated CloudWatch configuration to use SST v3 Config.Parameter
  • Fixed type safety in API routes with proper request body validation
  • Maintained ECC_SECG_P256K1 key specification for blockchain compatibility
  • Added runtime type checking for API request bodies to prevent invalid data

Notes

  • Local build and type checking pass successfully
  • JavaScript analysis and CodeQL checks passing
  • AWS deployment testing pending (requires valid AWS credentials)
  • Changes need to be tested in development environment
  • Added type validation to prevent invalid request bodies in accounts API

This PR was written by Devin-AI

Link to Devin run: https://preview.devin.ai/devin/eff6d26b267c422ab9cd70e95bfe1da4

- Upgrade SST from v2 to v3
- Migrate KMS functionality to Pulumi
- Update CloudWatch configuration for SST v3
- Update user table initialization
- Fix type safety in API routes
@dosubot dosubot bot added the size:XL This PR changes 500-999 lines, ignoring generated files. label Nov 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:XL This PR changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants