July 2017
Intermediate to advanced
402 pages
9h 38m
English
In order to keep our code fairly similar to what we saw in Chapter 3, Treating Your Infrastructure As Code, we are going to start off the helloworld troposphere code that we created in that chapter. We are first going to duplicate the Python script. Go to your EffectiveDevOpsTemplates directory where you have your troposphere templates and then clone the ansiblebase-cf-template.pyfile:
$ cp ansiblebase-cf-template.py jenkins-cf-template.py
The Jenkins host will need to interact with AWS. For that, we will create an instance profile (more on that later) taking advantage of another library developed by the same authors as troposphere's. We will install it as follows:
$ pip install awacs
We are now going ...
Read now
Unlock full access