This assumes that you have Python installed. A thorough guide on installing
Python can be found here. We highly recommend using Sceptre from within a
virtualenv. Notes on installing and setting up
virtualenv can be found
pip install sceptre
Validate installation by printing out Sceptre’s version number:
Sceptre, version 2.5.0
pip install sceptre -U
Using Docker image¶
To use our Docker image follow these instructions:
- Pull the image
docker pull cloudreach/sceptre:[SCEPTRE_VERSION_NUMBER]e.g.
docker pull cloudreach/sceptre:2.1.3. Leave out the version number if you wish to run latest.
- Run the image. You will need to mount the working directory where your project resides to a directory called project. You will also need to mount a volume with your AWS config to your docker container. E.g.
docker run -v $(pwd):/project -v /Users/me/.aws/:/root/.aws/:ro cloudreach/sceptre:latest --help
If you want to use a custom ENTRYPOINT simply amend the Docker command:
docker run -ti --entrypoint='' cloudreach:test sh
The above command will enter you into the shell of the Docker container where you can execute sceptre commands - useful for development.
If you have any other environment variables in your non-docker shell you will
need to pass these in on the Docker CLI using the
-e flag. See Docker
documentation on how to achieve this.