Skip to Content
Infrastructure as Code Cookbook
book

Infrastructure as Code Cookbook

by Stephane Jourdan, Pierre Pomès
February 2017
Intermediate to advanced
440 pages
8h 45m
English
Packt Publishing
Content preview from Infrastructure as Code Cookbook

Managing Heroku apps and add-ons using Terraform

Heroku is a popular Platform-as-a-Service (PaaS), where you have absolutely no control over the infrastructure. But even for such platforms, Terraform can automate and manage things for you, so Heroku can do the rest. We'll create an app (a simple GitHub Hubot: http://hubot.github.com/), but feel free to use your own. On top of this app, we'll automatically plug a Heroku add-on (redis) and deploy everything.

Getting ready

To step through this recipe, you will need the following:

  • A working Terraform installation
  • A Heroku account (https://www.heroku.com/)
  • An optional Slack Token
  • An Internet connection

How to do it…

First things first: we need to define the Heroku provider. It consists of an e-mail address ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Infrastructure as Code

Infrastructure as Code

Kief Morris
Implementing Modern DevOps

Implementing Modern DevOps

David Gonzalez, Danny Varghese

Publisher Resources

ISBN: 9781786464910