mirror of
https://github.com/bregman-arie/devops-exercises.git
synced 2026-02-04 23:59:11 +00:00
572 B
572 B
Local Provider
Objectives
Learn how to use and run Terraform basic commands
- Create a directory called "my_first_run"
- Inside the directory create a file called "main.tf" with the following content
resource "local_file" "mario_local_file" {
content = "It's a me, Mario!"
filename = "/tmp/who_is_it.txt"
}
- Run
terraform init. What did it do? - Run
terraform plan. What Terraform is going to perform? - Finally, run 'terraform apply' and verify the file was created