Terraform Tricks You Didn't Know!
Merge Ready
0:00 / 0:00
Terraform Tricks You Didn't Know!
1 501 просмотр · 11 месяцев назад
Merge Ready
2,95 тыс. подписчиков
1 501 просмотр · 11 месяцев назад
Terraform v1.5.0 brought major new features that make your infrastructure as code workflow easier and safer! In this video, we break down four game-changing updates from Terraform 1.5: check blocks, import blocks, auto-generated config, and new functions like plantimestamp and strcontains.
Follow Danny Smith here: / dannyleesmith
00:00 Intro
00:42 Check Blocks
02:20 Import Blocks
04:07 Auto Config Generation
05:36 plantimestamp()
06:26 strcontains()
07:01 Final Thoughts
Learn how check blocks let you continuously validate your Terraform infrastructure without halting deployments, and how they differ from precondition checks. See how import blocks turn importing existing cloud resources into a first-class, code-driven experience – no more separate CLI commands for each resource. We also demonstrate Terraform’s new ability to generate HCL configuration for imported resources automatically, saving you tons of time when adopting existing infrastructure. Plus, discover the new plantimestamp() function for stable plan-time timestamps (solving those tricky timestamp diffs) and strcontains() for easy substring checks in your Terraform code.
This video is based on insightful blog posts by Danny Smith (HashiCorp Ambassador) on the Terraform 1.5 release, big thanks to Danny for the info (check out his LinkedIn in the description)! If you’re upgrading to Terraform 1.5, or just want to stay on the cutting edge of Terraform features, this breakdown will get you up to speed.
Merge Ready is your hub for Terraform tips, DevOps best practices, and cloud automation tricks. Subscribe now for more Terraform updates and tutorials. If you enjoy the video, don’t forget to like and share it with fellow Terraform enthusiasts! Have questions or thoughts on these new features? Drop a comment below.
👉 Watch next: • Why Terraform Moved Blocks Are Better Than... – Learn how to refactor Terraform code safely using the “moved” block feature.
Until next time, stay Merge Ready!