Skip to main content

First App

Clone the sample app repository

git clone https://github.com/pranil-augur/mantis-sample-apps

Navigate to the sample app directory

cd mantis-sample-apps/flask-dynamodb-app/scripts

Initialize the Mantis project

mantis run --init install_app.tf.cue

Plan the changes

mantis run --plan install_app.tf.cue

Apply the changes

mantis run --apply install_app.tf.cue

Destroy the changes

mantis run --destroy install_app.tf.cue

Install cue

brew install cue

Vet the code to ensure it's proper cue syntax

cue vet 

Evaluate the code to see the output

cue export --out json