HandsOn exercises “First apply”
Goal
You should get to know the Terraform workflow with a simple module
Steps
- Create new folder
- Switch to the new folder
-
Create file
main.tf
with following contentresource "local_file" "foo" { content = "foo!" filename = "${path.module}/foo.bar" file_permission = "0644" }
- Run terraform workflow commands
init
plan
apply
output
plan