TA-002-P · Question #137
Which of the following command can be used to view the specified version constraints for all providers used in the current configuration.
The correct answer is A. terraform providers. The terraform providers command prints a tree of the providers required by the current configuration, including any version constraints specified in the configuration. It shows which providers are used and what version requirements are set. terraform state show displays…
Question
Which of the following command can be used to view the specified version constraints for all providers used in the current configuration.
Options
- Aterraform providers
- Bterraform state show
- Cterraform provider
- Dterraform plan
How the community answered
(39 responses)- A92% (36)
- B3% (1)
- C5% (2)
Explanation
The terraform providers command prints a tree of the providers required by the current configuration, including any version constraints specified in the configuration. It shows which providers are used and what version requirements are set. terraform state show displays resource state details, terraform provider is not a valid command, and terraform plan shows execution changes - none of these display provider version constraints.
Topics
Community Discussion
No community discussion yet for this question.