You guys are absolutely right. C is the way to go. The remote backend is a game-changer for Terraform. No more 'who has the latest state file?' discussions. Plus, you get all the added benefits like locking and versioning. It's a no-brainer in my opinion.
Haha, can you imagine if the answer was A) In an environment variable? That would be a disaster! Just imagine trying to manage your state that way. 'Hey, did you remember to set the TF_STATE_FILE environment variable before running apply?' Yikes, no thank you.
I agree, C is the correct answer. Storing the state in the remote backend or Terraform Cloud is the way to go, especially when working on shared infrastructure. It makes collaboration and version control much easier. Plus, it keeps our local machine nice and clean, no messy state files lying around.
Hmm, this is an interesting question. I'm glad they're testing our knowledge on state management, as that's a crucial aspect of Terraform. Let's see, I think the answer is C) In the remote backend or Terraform Cloud. That's the whole point of using a remote backend, right? To store the state file somewhere secure and accessible to the team.
upvoted 0 times
...
Log in to Pass4Success
Sign in:
Report Comment
Is the comment made by USERNAME spam or abusive?
Commenting
In order to participate in the comments you need to be logged-in.
You can sign-up or
login
Sabrina
7 months agoArt
7 months agoDanica
7 months agoTerrilyn
7 months agoCharlene
7 months agoKarl
7 months agoNiesha
7 months agoDevorah
7 months agoNickie
7 months agoRoxane
7 months agoSimona
7 months agoJuan
7 months ago