O'Reilly logo

Effective DevOps with AWS - Second Edition by Nathaniel Felsen, Giuseppe Borgese, Yogesh Raheja

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Terraform with Ansible using a push-based approach

Go into the EffectiveDevOpsTerraform repository and create a directory called thirdproject:

$ mkdir thirdproject$ cd thirdproject

In this example, we will use the recommended practices to create Terraform templates. We will remove our AWS access_key and our AWS secret_key from our Terraform template first. We have AWS CLI installed on our system, which means that we have already configured this system to talk to our AWS account. If we don't already have AWS CLI installed, we will use the aws configure to install it. This will create a credentials file inside the /root/.aws directory, which will contain our AWS access and secret keys. We will take the advantage of this file for our Terraform ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required