Загрузка страницы

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
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
2 июля 2020 г. 17:00:06
00:19:17
Яндекс.Метрика