This is an example of confd setup, using SSM as backend and a Node.js server consuming the confd generated template.
- Docker, docker compose and AWS CLI configurated with your account
- Clone this repository
git clone git@github.com:moog/confd-node-example.git - Go to project directory
cd confd-node-example - Create this on SSM
aws ssm put-parameter --name "/example/foo" --type "String" --value "bar" - Create a copy of
.aws.env.examplewith name.aws.envand fill it with your informations - Build service image
docker-compose build confd-example - Set container up
docker-compose up confd-example - Visit http://localhost:3000