Skip to content

ottaway-c/basic-cdk-setup-dotnet

Repository files navigation

Prereqs

Install

Install CDK cli

npm install -g aws-cdk

Install cdk packages

npm i

Create a .env file and add the following variables:

CDK_DEFAULT_ACCOUNT=<AWS ACCOUNT ID>
CDK_DEFAULT_REGION=<AWS REGION>
STACK_NAME=basic-cdk-setup-dev
CLUSTER_NAME=basiccdksetupdevcluster
DATABASE_NAME=basiccdksetupdevdatabase
DATABASE_USERNAME=basiccdksetupdev
DATABASE_INSTANCES=2

Create an instance profile called basic-cdk-setup-dev

aws configure --profile basic-cdk-setup-dev

Deploy

First we need to build out dotnet code in release mode

npm run package

Now we should be ok to deploy

npm run deploy

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published