A Cog Bundle to install a command set for interacting with Cloud providers using the Miasma library
Currently, these dependencies must be installed separately.
- Ruby 2.x
- bundler gem
- miasma gem
- miasma-aws gem
- Clone the git repo as the operable/cog user
cd
to the repo & runbundle install
- Export the following Environment Variables:
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
AWS_REGION
These credentials need access to:
"cloudformation:DescribeStacks",
"cloudformation:DescribeStackEvents",
"cloudformation:DescribeStackResource",
"cloudformation:DescribeStackResources",
"cloudformation:GetTemplate",
"cloudformation:List*"
Amazon provides this via the arn:aws:iam::aws:policy/AWSCloudFormationReadOnlyAccess
policy
- run
bundle exec scripts/build.rb
to generatemiasma.cog
mv
orcp
miasma.cog
to therelay/data/pending
directory
- release.rb - Generates manifest.json and config.yaml (or config.json)
- build.rb - Generates miasma.cog installation file.