Тёмный

Improved Variable Validation in Terraform 1.9 

Ned in the Cloud
Подписаться 14 тыс.
Просмотров 1,2 тыс.
50% 1

Variable validation blocks are great for verifying values for inputs, but until now they've had a huge limitation. You couldn't reference anything in the validation block aside from the variable value itself. Terraform 1.9 addes support for referencing any other object in the same module, including other variables, local, data sources, and resources.
Let's see how it works! I'll cover:
🌮 Variable validation syntax
🌮 Referencing another variable value
🌮 Referencing a data source
Here are the links for everything I mentioned:
🔗 Terraform 1.9 release notes: github.com/hashicorp/terrafor...
🔗 Updated documentation: developer.hashicorp.com/terra...
Thank you so much for watching! Subscribe if you think I’ve earned it. Hit the bell as well if you’re feeling swell.❤️&🌮
✅🔔 Subscribe ► nedinthecloud.com/SubscribeYT
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
🌮 Other videos to check out:
📽️ Terraform Basics - Modules: • Terraform Basics: Modules
📽️ Managing Multiple Environments with Terraform: • Managing Multiple Envi...
📽️ Workload Identity with Terraform Cloud: • Using Workload Identit...
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
#terraform #hashicorp #devops #cloudengineer
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
⭐ CONNECT WITH ME 🏃🦖
🌐 Day Two Cloud: daytwocloud.io
🌐 Chaos Lever: chaoslever.com
🌐 Visit my Website ► nedinthecloud.com
🗳 Pluralsight ► app.pluralsight.com/profile/a...
🐙 Find the code at GitHub► github.com/ned1313
🐧 Twitter ► / ned1313
👨‍💼 LinkedIn► / ned-bellavance
For collaboration or any queries: ned@nedinthecloud.com
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
🌮 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.

Наука

Опубликовано:

 

1 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 9   
@thebtm
@thebtm 19 дней назад
Awesome Video. thank you for it. Have a great vacation.
@adamdaniel5766
@adamdaniel5766 19 дней назад
this is pretty cool thanks for the info!
@avivasl
@avivasl 19 дней назад
I am glad TF is making easier to test input variables. Using pre/postcondition unnatural feels unnatural. thx!
@mistwire
@mistwire 19 дней назад
Great explainer video
@salamibuilds
@salamibuilds 19 дней назад
Niiice!!! Enjoy your vacation 🏖️
@NedintheCloud
@NedintheCloud 13 дней назад
Thanks! 😃
@G8KEEPER
@G8KEEPER 19 дней назад
Thanks Ned, enjoy your vacation.
@mattias.engineer
@mattias.engineer 19 дней назад
You can actually refer to unknown resource attributes in your variable validation blocks. If you do, the resource is created first, then the validation happens. I don't know if it ever makes sense to do it though 🤔
@NedintheCloud
@NedintheCloud 13 дней назад
Really?! That's super weird. I think that's better handled by pre/post conditions.
Далее
Using Terraform Provider Defined Functions
9:11
Terraform Basics: Modules
15:23
Просмотров 20 тыс.
What it feels like cleaning up after a toddler.
00:40
Encrypting State With OpenTofu
19:37
Просмотров 465
Day 4 : Terraform Variables and Outputs Tutorial
22:56
Input Data Using Forms || Visualforce Basics
2:25
Просмотров 7 тыс.
ОБСЛУЖИЛИ САМЫЙ ГРЯЗНЫЙ ПК
1:00