Workspaces | Terraform Tutorial | #16
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
- Use dev.tfvars and prod.tfvars files to set different variables depending on the workspace
- Examine the different state between workspaces
- Access the current workspace in config files with terraform.workspace
Course Examples:
https://github.com/WillBrock/terraform-course-examples
Documentation:
https://www.terraform.io/docs/state/workspaces.html
Видео Workspaces | Terraform Tutorial | #16 канала Will Brock
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
- Use dev.tfvars and prod.tfvars files to set different variables depending on the workspace
- Examine the different state between workspaces
- Access the current workspace in config files with terraform.workspace
Course Examples:
https://github.com/WillBrock/terraform-course-examples
Documentation:
https://www.terraform.io/docs/state/workspaces.html
Видео Workspaces | Terraform Tutorial | #16 канала Will Brock
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
04 Initial test - WebdriverIO v5Terraform Install | Terraform Tutorial | #2Azure and AWS Examples in Terraform | Terraform Tutorial | #6Setting up transition and how to transition | Beginner Triathlon #419 Configuration file part 1- General - WebdriverIOAzure #15 - Virtual Machine Scale Sets | Azure TutorialMastering Basic Terminal Commands: ls, pwd, cd, and More!01 Install Node - WebdriverIOWelcome to my channel about web development and server infrastructure10 General authentication test - WebdriverIO22 Page Objects part 2 - WebdriverIOAzure #18 - Storage Accounts | Azure Tutorial07 Assertions with Chai - WebdriverIO21 Page Objects part 1 - WebdriverIOCommand Chaining in Linux: && vs ; Explained08 Using the $ and $$ commands to find elements - WebdriverIOAzure #19 - Storage Accounts - Blob Storage | Azure TutorialEssential File Management in the Terminal: cp, mv, rm12 waitUntil command - WebdriverIOAzure #2 - Subscriptions | Azure TutorialLinux: Search terminal history with Ctrl + R command