2.1 - Source Code Editor
Goal: Create a Terraform resource


  1. 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. 2.
    Click SAVE
Your Terraform (HCL) source code is validated as you type!
On the right side you can switch between the CODE view, FORM builder or official Terraform DOCS
Copy link