Notifications
Clear all
Topic starter
Which of the following variable definition files will terraform load automatically?
- A . terraform.tfvar
B. Any files with names ending in .auto.tfvars.json
C. terraform.tfvars
D. terraform.tfvars.json
Suggested Answer: B,C,D
Explanation:
Terraform also automatically loads a number of variable definitions files if they are present:
Files named exactly terraform.tfvars or terraform.tfvars.json. Any files with names ending in .auto.tfvars or .auto.tfvars.json. https://www.terraform.io/docs/configuration/variables.html https://www.terraform.io/docs/configuration/variables.html#variable-definitions-tfvars-files
Explanation:
Terraform also automatically loads a number of variable definitions files if they are present:
Files named exactly terraform.tfvars or terraform.tfvars.json. Any files with names ending in .auto.tfvars or .auto.tfvars.json. https://www.terraform.io/docs/configuration/variables.html https://www.terraform.io/docs/configuration/variables.html#variable-definitions-tfvars-files
Posted : 17/12/2022 6:05 am