The easiest way to skyrocket your YouTube subscribers
Get Free YouTube Subscribers, Views and Likes

Terraform Tutorial | Import Existing Resources to Terraform

Follow
Akamai Developer

Terraform is an Infrastructure as Code tool that allows you to create cloud infrastructure with declarative code. Existing infrastructure can also be imported and brought under Terraform management. This tutorial shows how to import existing Linode infrastructure into Terraform to take advantage of IaC.

Chapters:
0:00 Intro & Prerequisites
1:37 Introducing the Import Command
2:40 Import a Linode to Terraform
7:54 Import a Domain to Terraform
9:57 Import a Domain Record to Terraform
12:50 Import a Volume to Terraform
14:56 Recap
15:38 Outro

New to Linode? Get started here with a $100 credit → https://www.linode.com/lp/youtubevie...
Terraform official install guide → https://learn.hashicorp.com/tutorials...
Read the written guide for more information on Importing with Terraform → https://www.linode.com/docs/guides/im...
Learn more about using Terraform → https://www.linode.com/docs/guides/ap...
Subscribe to get notified of new episodes as they come out → https://www.youtube.com/linode?sub_co...

NOTE: When following along with the video, there are a couple of imported ids that reference other resources. If you replace those with a reference to the Terraform resource (https://www.terraform.io/docs/languag..., Terraform will be able to handle changes between the two more effectively. For example in the example_domain_record configuration:

domain_id = "1157521"

could be replaced with:

domain_id = linode_domain.example_domain.id

#Linode #IaC #Terraform #AlternativeCloud
Product: Linode, Terraform Import, Infrastructure as Code; Sid Palas;

posted by antenasai