Infrastructure as Code (IaC) is considered the predominant approach to manage Cloud Infrastructure at large scale. Terraform is the market-leading tool implementing this approach, including support for all big Clouds Providers. It is extremely convenient to start new projects from scratch and automate your infrastructure right away. But what if you started without? What if you want to manage big amounts of pre-existing Cloud resources with Terraform?
Terraform’s “import” command is one building block, but using it manually for many resources is very tedious and error-prone. A complete import mechanism is announced by Hashicorp, but it is unclear when it will be implemented. How can we tackle this issue in the meantime? In this talk I will show you how to work smart, not hard: we will automate the import of resources into the Terraform state, generate the required Terraform code and engineer the correctness of the result with automated tests. You will learn hands-on how to avoid hours of manual migration and still feel confident that you are all set for Infrastructure as Code.
Constantin Weisser is a Consultant and Trainer for Novatec Consulting GmbH, based in Germany. He is accompanying customers on their journey to modern software development. He focuses on methods and tools around Software Delivery, i.e. covering all the way from the source code to a running application in the Cloud. Constantin advocates tailored tooling, step-by-step automation and an engineering approaches to speed up software development and delivery, enabling teams to ship high quality applications. read more