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 → www.linode.com/lp/youtube-viewers/?ifso=linodetube…
Terraform official install guide → learn.hashicorp.com/tutorials/terraform/install-cl…
Read the written guide for more information on Importing with Terraform → www.linode.com/docs/guides/import-existing-infrast…
Learn more about using Terraform → www.linode.com/docs/guides/applications/configurat…
Subscribe to get notified of new episodes as they come out → 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 (www.terraform.io/docs/language/expressions/referen…, 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;
コメント