This command initializes a working directory containing Terraform configuration files, downloads provider plugins and sets up the backend for state storage. If the configuration files have changed, terraform init will also perform an update of the required provider plugins.
NEW QUESTION -
While calling terraform validate, it will call the provider APIs to validate the code.
A. True
B. False
I think it shall be A, although I got it wrong in the exam.
terraform validate command validates the configuration files in a directory, referring only to the configuration and not accessing any remote services such as remote state, provider APIs, etc.
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Jhaggar
1 year, 6 months agozanhsieh
1 year, 6 months agoForam31
1 year, 5 months agoFawadK
1 year, 6 months agoOleg_gol
1 year, 6 months ago