The answer is correct.
Wherever possible, avoid using terraform refresh explicitly and instead rely on Terraform's behavior of automatically refreshing existing objects as part of creating a normal plan.
Source: https://www.terraform.io/cli/commands/refresh
D. None of the above.
Refresh is used to check backward compatibility to read the infrastructure objects, and update the state file. Terraform performs refresh by itself during every plan and apply commands. So, it is recommended that we not perform refresh often.
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.
Uma10
Highly Voted 2 years, 2 months agokeiffo2
2 years, 2 months agoDarshan07
Most Recent 9 months agohajurbau
1 year, 2 months agoRVivek
2 years, 1 month agoPinky0289
2 years, 2 months agodepal_dhir
2 years, 2 months ago