Тёмный

Choosing Between Count and For-Each 

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

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

 

30 окт 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 28   
@RuiDuartept
@RuiDuartept Год назад
you're a life saviour, the way you explain is brilliant!
@navinkumar6388
@navinkumar6388 3 месяца назад
Oh explained in the best way 👍 Loved 😍 this video 📸 Thanks 🙏 for posting it. With Love from India 🇮🇳
@NedintheCloud
@NedintheCloud 3 месяца назад
Glad it helped!
@unikrau4963
@unikrau4963 2 года назад
Wow , So impressive and advanced explanation !!!
@makeitcloudy
@makeitcloudy Год назад
fantastic demo, hardly possible to invent this by it's own without seeing it on the video
@AntonBabenkoLive
@AntonBabenkoLive 2 года назад
Thanks for mentioning weekly.tf, Ned!
@agentorange20
@agentorange20 2 года назад
Great demo on the main advantage in using for_each vs count with ordered lists.
@PounderSlims
@PounderSlims 2 года назад
Thank you for this great video, It was a great help in understanding how for_each works, and some great ways to do some testing on my own without having to build anything in AWS.
@Tech-ub8dd
@Tech-ub8dd Год назад
great video , thank you!
@BernardoGarcia19
@BernardoGarcia19 2 года назад
Nice explanation to keep in mind when setting up config environments.
@SunsetNova
@SunsetNova 10 месяцев назад
Wonderful explanation thanks
@NedintheCloud
@NedintheCloud 10 месяцев назад
Glad it was helpful!
@cs31296
@cs31296 2 года назад
great explanation, thank you!
@mauloqiit5257
@mauloqiit5257 2 года назад
Thank you for this detailed explanation, I've a little question, can we get an index (integer value) from for_each ? for example can we write each.key.index ?
@ManiBalajiC
@ManiBalajiC 5 месяцев назад
so if i wnna use for_each then i need to manual write 1-100 server for it to properly map the resource and work ?, if i delete then if i run it again , it creates for the number i defined , so i need to manually delete it.. too much of work ...
@NedintheCloud
@NedintheCloud 5 месяцев назад
Hey Mani, not sure I follow. If you need ~100 nearly identical servers, then count is probably the way to go. If you have to provision 100 servers that are substantially different, you would need a set or map with 100 entries. That could come from an external file in json or yaml. Does that help?
@RovshanMusayev
@RovshanMusayev 2 года назад
Wondering why Terraform doesn't think about a proper IF argument instead of highjacking it with count
@arzlanali5591
@arzlanali5591 Год назад
You are cool mate. I am not going to say what everyone else says “like your content, explanation blah blah. I really liked the way you ended saying “subscribe you might like it” it was never compelling like others. Of course the topic and content was also helpful. I’m at the mid level so looking for a terraform real-time project implementation with AWS. Do you have anything on your channel please?
@NedintheCloud
@NedintheCloud Год назад
Thanks Arzlan! I tend to do most of my examples with Azure, since everyone else seems to focus on AWS. That being said, I do have a course on Pluralsight that is called "Implementing Terraform on AWS" that you might find useful.
@macdilen2009
@macdilen2009 2 года назад
love your content
@rahulsingh-iq4gd
@rahulsingh-iq4gd Год назад
Where did you setup your website server on Neptune ?? It took me 20 seconds to load
@NedintheCloud
@NedintheCloud Год назад
Pluto actually! I prefer the atmosphere. Seriously though, I am working on migrating my website off wordpress to a static web app. Just need to find the time to export all the posts.
@rahulsingh-iq4gd
@rahulsingh-iq4gd Год назад
@@NedintheCloud atleast your server is within solar system… never mind sir carryon with your migration..
@mosksky
@mosksky 2 года назад
Awesome!!!
@mishamovdivar
@mishamovdivar 2 года назад
For referencing a resource, for loop with filter "item.content == ..." works now because you set file content as a set key, but if you had random content in your file and want to lookup resource by key, then I think that method would not work.
@premierde
@premierde 6 месяцев назад
Very helpful. 🤗. If an item from the list is removed. The construct breaks. Instead why not use map 🤔 and iterate?
@krunalshah2484
@krunalshah2484 2 года назад
Superlike
@freibuis
@freibuis 2 года назад
I hate count with a passion ..... but for_each needs `-target` alot of the time and that sucks if you want to bring somthing up but you have to target first :(
Далее
Parsing Data with For Loops
28:28
Просмотров 11 тыс.
Getting Started with Terraform Stacks
28:59
Просмотров 1 тыс.
This is how Halo felt as a kid 🤣 (phelan.davies)
00:14
Using Moved Blocks in Terraform
17:49
Просмотров 6 тыс.
Using Dynamic Blocks in Terraform
21:38
Просмотров 12 тыс.
Terraform Code - Why for_each is better than count
21:05
Exploring the Import Block in Terraform 1.5
23:44
Просмотров 15 тыс.
Using templatefile in Terraform
21:43
Просмотров 13 тыс.
This is how Halo felt as a kid 🤣 (phelan.davies)
00:14