filmov
tv
Terraform Workspaces Are Bad Actually, And Here's Why.
Показать описание
The workspace feature in Terraform OSS seems like a great solution for managing multiple environments with the same body of code. But appearances can be deceiving! There's a reason third-party solutions like GitHub Actions, Azure DevOps, and env0 exist to help manage Terraform infrastructure as code deployments. One of the primary reasons is handling the integration between your Terraform configuration, your infrastructure environments, the input values you want to use, and the state data storage for each instance.
Once you start thinking through how to promote code changes from one environment to another, how to secure your Terraform state data, and how to implement a policy of least privilege access with your developers and CI/CD pipelines; you'll quickly discover that Terraform OSS workspaces are just not up to the task.
That's not to say that Terraform OSS workspaces are always bad! They certainly have their place, for use with short-lived, testing environments that live outside your regular CI/CD processes. But once you start working with long-lived, shared environments like Staging and Production, it's time to find another solution.
In the video we'll cover the following:
🌮 The problem Terraform workspaces are meant to solve
🌮 How Terraform workspaces work
🌮 The shortcomings of Terraform workspaces
🌮 Alternatives approaches to using Terraform workspaces
Thank you so much for watching! Subscribe if you think I’ve earned it. Hit the bell as well if you’re feeling swell.❤️&🌮
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
🌮 Other videos to check out:
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
🌮 Timestamps:
⌚ 0:00 Intro
⌚ 1:31 Terraform workspaces background
⌚ 2:21 What problem are we trying to solve?
⌚ 4:35 What solutions are available?
⌚ 5:56 How do workspaces, er, work?
⌚ 7:46 Shared codebase issues
⌚ 10:22 Shared state data issues
⌚ 13:49 env0 Sponorship
⌚ 15:08 Shared providers and modules issue
⌚ 17:06 Are workspaces actually bad?
⌚ 19:08 Conclusions
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
#terraform #hashicorp #devops #cloudengineer #techlearning
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
⭐ CONNECT WITH ME 🏃🦖
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
🌮 About Me 🌮
Ned is a curious human with a knack for creating entertaining and informative content. With over 20 years in the industry, Ned brings real-world experience to all his creative endeavours, whether that's pontificating on a podcast, delivering live instruction, writing certification guides, or producing technical training videos. He has been a helpdesk operator, systems administrator, cloud architect, and product manager. In his newest incarnation, Ned is the Founder of Ned in the Cloud LLC. As a one-man-tech juggernaut, he develops courses for Pluralsight, runs two podcasts (Day Two Cloud and Chaos Lever, and creates original content for technology vendors.
Ned has been a Microsoft MVP since 2017 and a HashiCorp Ambassador since 2020, and he holds a bunch of industry certifications that have no bearing on anything beyond his exceptional ability to take exams and pass them. When not in front of the camera, keyboard, and microphone, you can find Ned running the scenic trails of Pennsylvania or rocking out to live music in his hometown of Philadelphia. Ned has three guiding principles: Embrace discomfort, Fail often, and Be kind.
Once you start thinking through how to promote code changes from one environment to another, how to secure your Terraform state data, and how to implement a policy of least privilege access with your developers and CI/CD pipelines; you'll quickly discover that Terraform OSS workspaces are just not up to the task.
That's not to say that Terraform OSS workspaces are always bad! They certainly have their place, for use with short-lived, testing environments that live outside your regular CI/CD processes. But once you start working with long-lived, shared environments like Staging and Production, it's time to find another solution.
In the video we'll cover the following:
🌮 The problem Terraform workspaces are meant to solve
🌮 How Terraform workspaces work
🌮 The shortcomings of Terraform workspaces
🌮 Alternatives approaches to using Terraform workspaces
Thank you so much for watching! Subscribe if you think I’ve earned it. Hit the bell as well if you’re feeling swell.❤️&🌮
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
🌮 Other videos to check out:
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
🌮 Timestamps:
⌚ 0:00 Intro
⌚ 1:31 Terraform workspaces background
⌚ 2:21 What problem are we trying to solve?
⌚ 4:35 What solutions are available?
⌚ 5:56 How do workspaces, er, work?
⌚ 7:46 Shared codebase issues
⌚ 10:22 Shared state data issues
⌚ 13:49 env0 Sponorship
⌚ 15:08 Shared providers and modules issue
⌚ 17:06 Are workspaces actually bad?
⌚ 19:08 Conclusions
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
#terraform #hashicorp #devops #cloudengineer #techlearning
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
⭐ CONNECT WITH ME 🏃🦖
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
🌮 About Me 🌮
Ned is a curious human with a knack for creating entertaining and informative content. With over 20 years in the industry, Ned brings real-world experience to all his creative endeavours, whether that's pontificating on a podcast, delivering live instruction, writing certification guides, or producing technical training videos. He has been a helpdesk operator, systems administrator, cloud architect, and product manager. In his newest incarnation, Ned is the Founder of Ned in the Cloud LLC. As a one-man-tech juggernaut, he develops courses for Pluralsight, runs two podcasts (Day Two Cloud and Chaos Lever, and creates original content for technology vendors.
Ned has been a Microsoft MVP since 2017 and a HashiCorp Ambassador since 2020, and he holds a bunch of industry certifications that have no bearing on anything beyond his exceptional ability to take exams and pass them. When not in front of the camera, keyboard, and microphone, you can find Ned running the scenic trails of Pennsylvania or rocking out to live music in his hometown of Philadelphia. Ned has three guiding principles: Embrace discomfort, Fail often, and Be kind.
Комментарии