Skip to content

Cloud formation

A cloud formation template has been created to easly create AWS User and AWS S3 buckets for labelit. Use the following command to deploy the stack.

aws cloudformation deploy \
--template-file iaac/cloud-formation.yaml \
--stack-name "labelit-<CLIENT_NAME>" \
--parameter-overrides ClientName=<CLIENT_NAME> \
--parameter-overrides URL=<URL_OF_THE_PLATFORM> \
--capabilities "CAPABILITY_NAMED_IAM"

Then you have to run the following command to create an access-key / secret key for the newly created IAM user.

aws iam create-access-key --user-name LABELIT_<CLIENT_NAME> --output yaml

Now, you can use theses credentials in your backend configuration (environment variables).