Questions
- Why should we constrain the provider version?
- You should always use the
fmt
andvalidate
functions before a Terraform plan – True/False? - What does the Terraform
plan
command do? (Multiple answers are possible.)A. Refreshes the current state with the existing infrastructure state
B. Gets the delta between the current configuration and the expected configuration
C. Applies the configuration to the cloud
D. Destroys the configuration in the cloud
- What does the
terraform apply
command do? (Multiple answers are possible.)A. Refreshes the current state with the existing infrastructure
B. Gets the delta between the current configuration and the expected configuration
C. Applies the configuration to the cloud
D. Destroys the configuration in the cloud
- Why should you never store state files in source control? (Multiple answers are possible.)
A. State files are plaintext, and therefore you expose sensitive information to unprivileged users.
B. Source control does...