Terraform Provisioner to Configure VScode

Опубликовано: 07 Октябрь 2024
на канале: More than Certified
3,506
8

in this lesson, we're going to utiilize a provisioner to configure the vscode on our local terminal to be able to ssh into our remote VM.

now, a provisioner is not something you want to use for every deployment. Unlike other resources, a provisioner's success or failure will not be recorded or managed by state. So if something goes wrong, that's just too bad. there is no rollback or other way to manage it other than just running it again.

While this is not good for configuring remote instances, it's perfectly fine for something like this. Just adding information to a config file on our local terminal. This is a lightweight operation that doesn't affect the overall success of the deployment if something were to go wrong.
Check out the full course, along with my other courses, here:
https://courses.morethancertified.com