2.1 - Source Code Editor

Goal: Create a Terraform resource

Steps

  1. Select main.tf in the file tree and add the following Terraform code: resource "local_file" "txt" { filename = "tutorial.txt" content = "Hello world!" }

  2. Click SAVE

Your Terraform (HCL) source code is validated as you type!

Last updated