In this video you will learn how to create a Virtual Machine in AWS with Terraform. You will see how to provision an application using cloud init scripts, how data sources and variables can be used to make the configuration dynamic, and how outputs can be used to retrieve details of created resources. If you are completely new to Terraform, why not check out the video on Terraform Basics that explains the Terraform workflow first → https://youtu.be/_45W3Z8XWL4 If you're wondering "how does Terraform make sense for my organization?" download our Infrastructure Lifecycle Management primer → https://www.hashicorp.com/on-demand/infrastructure-lifecycle-management-with-the-hashicorp-cloud-platform-email Source code for this video can be found at the following location → https://github.com/nicholasjackson/demo-terraform-basics 00:00:00 Introduction 00:00:47 Adding the AWS Provider 00:03:59 Authenticating the AWS Provider 00:08:46 Terraform Init 00:09:35 Creating a Virtual Machine 00:12:50 Using Data Sources 00:16:09 Running Terraform Plan 00:16:55 Running Terraform Apply 00:18:11 Creating a VPC 00:19:51 Using Terraform Functions 00:28:50 Updating Resources 00:30:52 Defining Outputs 00:35:32 Provisioning Applications With Cloud Init 00:50:20 Making Configuration Dynamic with Variables 01:05:28 Complex Variables And Conditional Statements 01:13:14 Summary Subscribe to our YouTube Channel → https://www.youtube.com/c/HashiCorp?sub_confirmation=1 For hands-on interactive labs, visit HashiCorp Developer → https://developer.hashicorp.com/ HashiCorp provides infrastructure automation software for multi-cloud environments, enabling enterprises to unlock a common cloud operating model to provision, secure, connect, and run any application on any infrastructure. HashiCorp tools Vagrant, Packer, Terraform, Vault, Consul, Nomad, Boundary, and Waypoint allow organizations to deliver applications faster by helping enterprises transition from manual processes and ITIL practices to self-service automation and DevOps practices. For more information → https://hashicorp.com Twitter → https://twitter.com/HashiCorp LinkedIn → https://linkedin.com/company/hashicorp Facebook → https://facebook.com/HashiCorp