Provider Best Practices
An overview of some tips and tricks for Terraform providers.
We'll cover the following...
When you ran terraform init
, Terraform downloaded the latest versions of all of the providers that
you used in your project. You may have noticed the warning message that Terraform printed out:
Press + to interact
Terraform has created a lock file .terraform.lock.hcl to record the providerselections it made above. Include this file in your version control repositoryso that Terraform can guarantee to make the same selections by default whenyou run "terraform init" in the future.
Terraform creates a special file that is used to record the version of all of the providers used.
This is so that when terraform init
is run again (potentially on another ...
Access this course and 1400+ top-rated courses and projects.