SparkleFormation packaged in a container (avoiding a Ruby installation on the host)
267
This container (emnify/sparkleformation allows to run SparkleFormation without having Ruby installed on the host.
.sfn config file) must be mounted to /work.AWS_* variables are exported prior to running the command.$ docker run -it \
-e AWS_REGION -e AWS_SECRET_ACCESS_KEY -e AWS_ACCESS_KEY_ID \
-v ~/src/cloudformation/staging:/work \
emnify/sparkleformation
Making above a shell alias allows to work as follows:
$ export AWS_REGION=...
$ alias sparkle="docker run -it -e AWS_REGION -e AWS_SECRET_ACCESS_KEY -e AWS_ACCESS_KEY_ID -v ~/src/cloudformation/staging:/work emnify/sparkleformation"
$ sparkle list
Name Created Updated Status Template Description
some-stack 2017-06-19 05:21:39 UTC 2017-09-21 08:34:44 UTC UPDATE_COMPLETE Some Example stack
Content type
Image
Digest
Size
342.1 MB
Last updated
almost 9 years ago
docker pull emnify/sparkleformation