Skip to content

AlisProject/environment

Repository files navigation

environment

The environment valuables of the ALIS applications.

Prerequisite

  • aws-cli
  • direnv

Usage

Set environment valuables.

cp -p ./.envrc.sample ./.envrc
direnv edit

Set SSM valuables.

cp -p ./template.sample.yaml ./template.yaml

# Edit valuables
vi template.yaml

Deployment.

./deploy.sh

For DynamoDB Names

You can use a script to replace table names for template.yaml.

./dynamodb-table-replacer.sh

For APIs

./api-stack-replacer.sh

Linting

Prerequisite

  • yarn

Dependencies

yarn

Run

yarn cfn-lint validate template.sample.yaml