Skip to content

Saruniks/my-data-project-iac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS CDK Rust Playground

This project serves as a playground for the initial version of AWS CDK Rust.

Project Overview

Infrastructure-as-code (IaC) project for a simple full-stack application using AWS CDK Rust.

The components:

  • Frontend: AWS Amplify
  • Backend: AWS Lambda
  • Database: Amazon Aurora DSQL
  • Reverse Proxy: CloudFront

Environment Variables

The following environment variables are required:

Variable Description
GITHUB_ACCESS_TOKEN GitHub token for accessing your repo
FRONTEND_GITHUB_REPOSITORY URL of the frontend GitHub repository
LAMBDA_ZIP_PATH Path to the packaged Lambda code .zip

Usage

  1. Set up the required environment variables
  2. Run the project to generate CloudFormation templates:
    cargo run
    
  3. Deploy the stack:
    ./deploy.sh
    
  4. To tear down the infrastructure:
    ./destroy.sh
    

Known Issues and Limitations

  • ⚠️ Amplify job needs to be run manually after initial deployment
    • After stack deployment, navigate to AWS Amplify Console
    • Select your application and branch
    • Click "Run build" to start the initial build process
    • Subsequent code pushes will trigger builds automatically

About

Playground to demonstrate experimental version of AWS CDK Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published