Skip to content

civic-software-initiative/infrastructure

Repository files navigation

CSI CDK Infrastructure

The cdk.json file tells the CDK Toolkit how to execute your app.

Useful commands

Command Action
npm install Install dependencies
npm run build Compile typescript to js
npm run watch Watch for changes and compile
npm run test Run the unit tests
npm run cdk ... Run CLI commands
npm run format Format code with prettier
cdk deploy --outputs-file cdk-outputs.json Deploy to configured account/regions
cdk diff Compare deployed stack with current state
cdk synth Emits the synthesized CloudFormation template

DemoEnvironments

The DemoEnvironments stack is used to create and manage demo envs. Remove the relevant resources or add more as needed.

cdk deploy --outputs-file cdk-outputs.json DemoEnvironments

Ansible is used to manage demo environments. Update the demo hosts in hosts.yml when envs are changed.

$ cd ansible
$ ansible-playbook -i hosts.yml playbook.yml -u ubuntu

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published