Terraform Tutorial | Import Existing Resources to Terraform

Subscribers:
1,040,000
Published on ● Video Link: https://www.youtube.com/watch?v=l2R_tl1I7cA



Category:
Guide
Duration: 16:02
20,845 views
210


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/youtube-viewers/?ifso=linodetube&utm_source=youtube&utm_medium=SuperUser
Terraform official install guide → https://learn.hashicorp.com/tutorials/terraform/install-cli
Read the written guide for more information on Importing with Terraform → https://www.linode.com/docs/guides/import-existing-infrastructure-to-terraform/
Learn more about using Terraform → https://www.linode.com/docs/guides/applications/configuration-management/terraform/
Subscribe to get notified of new episodes as they come out → https://www.youtube.com/linode?sub_confirmation=1

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/language/expressions/references.html#references-to-resource-attributes), 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;







Tags:
linode
linux
cloud computing
alternative cloud
linux server
terraform
terraform linode
linode terraform tutorial
getting started with terraform
terraform tutorial
iac
terraform for beginners
terraform how to
infrastructure as code
sid palas
cloud automation
hashicorp
how to use terraform
intro to terraform
linode tutorial
automation with terraform
iac terraform
using terraform
terraform basics
import terraform
terraform import
terraform import example