Workspaces | Terraform Tutorial | #16

preview_player
Показать описание
Workspaces allow the use of the same configuration but having separate state backends for each workspace. One use case is having production and dev workspaces. This allows the same setup for both environments but each with their own state. When working in the dev workspace you can ensure that you are only modifying that infrastructure and not production. This is great for testing changes without affecting other environments.

In this video tutorial I'll create a couple examples of working with dev and production workspaces in Terraform.

- Use the CLI to create, update, switch, list, show and delete workspaces
- Examine the different state between workspaces

Course Examples:

Documentation:
Рекомендации по теме
Комментарии
Автор

Thanks Will for these videos ! I finally got my head around the concept of Workspaces. Appreciate it !

bajajrahul
Автор

I spent a lot of hours to understand how things are segregating bet' workspace and folder based structure flow in terraform. After i pumped into here, got to know how simple it is. Heads up to you Will Brock. Simple and Sweet explanation. Awesome Job. Thanks a lot.

RamKumar-tkcb
Автор

Thank you so much for this playlist!!! we all really appreciate it!

felipeozoski
Автор

Thanks for this course bro. Its perfect for mere mortals like myself. I fully get it now.

kaypakaipa
Автор

So glad someone addressed the initial confusion I had when I first was introduced to Workspace. Because I thought initially that by defining a workspace, it automatically deploys resources to different "profile" automatically on the cloud server I am working on. But that's not the case. It is more of a logical grouping with its own state file that helps manages different prod/non-prod environments GIVEN the right config.

gihanmahmoud
Автор

Very well simply explained and much appreciated you for this wonderful video

vijeeshvijayan
Автор

This was really good explanation of Workspaces, request you to add a video on Workspace, directory, module comparison.

rakeshjha
Автор

Excellent video will. Thankyou for this playlist. Are you planning to make a video on workspaces vs directory structure as you mentioned in the video?

himanshuupadhyay
Автор

Very useful video, finally with this video i cleared my confusion about Terraform workspaces.

dilgamr.sharifov
Автор

very clearly explained - thanks for the information.

keithsexton
Автор

Great content Will. You cleared my confusion. Thanks

twmehlv
Автор

One of the good tuts out there... Keep up the good work

ujwaldhakal
Автор

You are amazing mate. Thanks for the explanation in the best possible way with the demo. Keep Up the good work. ( Just subscribed 😀 )

thumpanekolla
Автор

exactly what i was looking for. Nice intro in to terraform ive always used CF instead

production-aws
Автор

it was so helpful Will, thank you very much!

HasanUckun
Автор

Thanks Will very useful just learned about workspaces.

ramthirumalai
Автор

Hi Will. Such an amazing teaching for terraform. Can you please make a video on how to use workspace for different account. Like sandbox and dev accounts in AWS>

saeedsherani
Автор

This was a good explanation, thanks
Curious, what if you define instance name in the dev.tfvars with a dev prefix. Same for PRD. Would you still need workspace? I guess to manage different .tfstate files?

abettertomorrow
Автор

thks will.... the best explenation i found... your

dvirpashut
Автор

Thanks Will for this wornderful video. But I have a question here apart from instance name which was picked based on workspace I couldn't understand what else could be the use case . If being in dev workspace you will pass prod.tfvars as argument the script will create the infra with prod configuration I beleive then what is new here ? can you pls clarify ?

rajivnayanverma