16 Terraform Foreach - Deploy multi vm's with different sizes

Поділитися
Вставка
  • Опубліковано 2 жов 2024
  • In this video i am discussing about how to deploy multiple vm's with different configurations or different sizes using terraform foreach.
    Github link : github.com/nex...
    In the last video we discussed about terraform use case to deploy aws infrastructure.
    For full terraform course
    • Terraform Full Course ...
    For full azure videos
    • Azure in Telugu
    For Full azure devops videos
    • Azure Devops in Telugu...
    #nextops #terraformintelugu #nextops terraform

КОМЕНТАРІ • 55

  • @vamsidhanushvml501
    @vamsidhanushvml501 Рік тому +1

    Very Informative contents and Explaining in local language is useful to understand for telugu people who just started learning. Thanks for uploading videos on Terraform...Hope we will receive more videos on Terraform

  • @TirupathiG-f1b
    @TirupathiG-f1b Рік тому +1

    Thank you very much sir for uploading terraform videos

  • @bramma465
    @bramma465 8 місяців тому

    Thank you Charan. For sharing your valuable information ,,,❤❤

    • @NextOpsVideos
      @NextOpsVideos  7 місяців тому

      Thank you Bramma garu for watching. Please do share the good word about the channel if you can.

  • @Yogeshsairobbi
    @Yogeshsairobbi 5 місяців тому +2

    sir what in case we use two variable block in the script. how to get IDs from that scrip please help with that logic sir while using foreach loop

    • @NextOpsVideos
      @NextOpsVideos  4 місяці тому

      If you want resources with different configurations then you can use two variables. Its explained in this video, please do share a good about the channel if you can.

  • @sivakesavulualla7664
    @sivakesavulualla7664 Рік тому +2

    Thank you for the video, Today Learned something. but I have one doubt, for RG Name, Vnet Name and Subnet Name, I want to give Dynamically through from Locals. if this possible if we mention for each.
    Example: My RG Name Start with RG-ProjectName-{WorkSpace}, Work Space should be dev, prod. is this possible, instaed of mentioning the values to Variable and keeps into locals?

  • @JeffersonBienAime
    @JeffersonBienAime 8 місяців тому +1

    Thank you this is a very good use case. Thank you. How do I do a Master, Slave for 3 VMs?

    • @NextOpsVideos
      @NextOpsVideos  8 місяців тому

      It's inside the server, can't be handled from terraform perspective.

  • @vijaycongo
    @vijaycongo Рік тому +2

    Hi Anna thanks for your valuable videos. Could you upload a video for Terraform Dynamic Block

  • @tallurivamsi6413
    @tallurivamsi6413 Рік тому +2

    The way you are explaining the things with clarity and understandable to all is commendable.....your voice is some what similar to trivikram srinivas....try to educate as many as you can like us.....keep inspiring...

    • @NextOpsVideos
      @NextOpsVideos  Рік тому

      Thank you Vamsi for you kind words 🙏
      Please share the good word about the channel if you can 🙏🙏🙏

  • @thotapraveenbabu5087
    @thotapraveenbabu5087 Рік тому +2

    Hii anna...thank you so much for educating us...in the next video please explain about best ways to authenticate terraform with gcp

  • @annaramlg
    @annaramlg Рік тому +1

    Checkov ... Scan cloud infrastructure ?

  • @annaramlg
    @annaramlg Рік тому +1

    Charan can you please
    One video tflint ...?

  • @m.ramireddy2807
    @m.ramireddy2807 Рік тому +1

    Hai bro Thankyou for more information
    how to add nsg rules inbound and outbound rules(80,22,3389)ports using terraform one video please attached for this video

  • @metukurusriharireddy3190
    @metukurusriharireddy3190 Рік тому +1

    HI Charan,
    How to set up a custom page (502, 404, 403) using terraform. one video please. Advance Thanks,

  • @nasarreddy5090
    @nasarreddy5090 Рік тому +1

    Sir your website is not working.. please let me upcoming azure admin and Azuredevops course

    • @NextOpsVideos
      @NextOpsVideos  Рік тому

      It's working now. But I'm not taking classes at the moment

  • @muvvalaabhishake4300
    @muvvalaabhishake4300 8 місяців тому

    Hi bro, Me videos choosi interviews ki attend ayyanu i have cleared the terraform coding rounds. I have one doubt here . If any interviewer ask write a code to deploy multiple vm's ante manam whole code raasi choopiyala... can u clarification on this plsssss...

    • @NextOpsVideos
      @NextOpsVideos  7 місяців тому

      In the interview, code rayadam ante konchem kastame. Concept explain chesi try to write as much as you can. That would be enough i guess.

  • @manid2900
    @manid2900 Рік тому +1

    Hai anna...Okavella terraform storage account ni configure cheyyali ante 3 storage accounts ni create chesi malli backend object ni define cheyyala

  • @ranadheerreddy2996
    @ranadheerreddy2996 Рік тому +1

    Wow very nice video. it really helps. Thank you Bro.

    • @NextOpsVideos
      @NextOpsVideos  Рік тому

      Hi Ranadheer, thank you for watching.
      Please share the good word about the channel if you can 🙏🙏🙏

  • @MegaDeathLove
    @MegaDeathLove Рік тому +1

    Hello,
    i have stuck for some time on a problem, i using your script and is working fine, thank a lot for that, now im trying to modify and add multipe data disk on the vm with different sizes, live VM1 has 2 disk ,20gb and 30gb, vm2 had 10gb and 20 gb. but until now i have failed to create them. can you please help me with that?

  • @gantyadarambabu4288
    @gantyadarambabu4288 Рік тому +1

    Can you please explains the step function modules in terraform

  • @haranathbondala4625
    @haranathbondala4625 Рік тому +1

    Excellent video.kindly upload more use cases in terraform

  • @ballaprasannakumar6470
    @ballaprasannakumar6470 Рік тому +1

    But in this case we don't have public ip, how will we get public IP could explain?

    • @NextOpsVideos
      @NextOpsVideos  Рік тому +1

      You need to create a public IP resource using terraform azurerm resource definition and attach it to your vms. Explore it brother.

    • @ballaprasannakumar6470
      @ballaprasannakumar6470 Рік тому

      Thank you 🙏🙏 @ Anna

  • @haranathbondala4625
    @haranathbondala4625 Рік тому +1

    Can anyone help me how to create azure multiple subscriptions (may be v need to have main code and module as well)

  • @SWATHICHANDRA_VLOGS
    @SWATHICHANDRA_VLOGS Рік тому +1

    Exllent mastaru 😊

  • @pradeep-ds6gp
    @pradeep-ds6gp Рік тому +1

    Your awesome anna... thanq so much anna...

    • @NextOpsVideos
      @NextOpsVideos  Рік тому

      Thank you Pradeep. Please like and share.

    • @sjraju
      @sjraju Рік тому +1

      Thank you so much.

  • @nareshv7797
    @nareshv7797 Рік тому +1

    Super nextops 🎉🎉

  • @annaramlg
    @annaramlg Рік тому +1

    Hi Charan

  • @muvvalaabhishake4300
    @muvvalaabhishake4300 8 місяців тому

    bro im getting error -> pls can u sugest any solution
    Error: "each.value.location" was not found in the list of supported Azure Locations: "australiacentral,australiacentral2,australiaeast,australiasoutheast,brazilsouth,brazilsoutheast,brazilus,canadacentral,canadaeast,centralindia,centralus,centraluseuap,eastasia,eastus,eastus2,eastus2euap,francecentral,francesouth,germanynorth,germanywestcentral,israelcentral,italynorth,japaneast,japanwest,jioindiacentral,jioindiawest,koreacentral,koreasouth,malaysiasouth,mexicocentral,northcentralus,northeurope,norwayeast,norwaywest,polandcentral,qatarcentral,southafricanorth,southafricawest,southcentralus,southeastasia,southindia,spaincentral,swedencentral,swedensouth,switzerlandnorth,switzerlandwest,uaecentral,uaenorth,uksouth,ukwest,westcentralus,westeurope,westindia,westus,westus2,westus3,austriaeast,centralusfoundational,chilecentral,eastusslv,israelnorthwest,malaysiawest,newzealandnorth,westeuropefoundational"

    │ with azurerm_resource_group.example["australiacentral"],
    │ on main.tf line 22, in resource "azurerm_resource_group" "example":
    │ 22: location = "each.value.location"
    my code i have writen in variable.tf file
    variable "resourcedetails" {
    type = map(object({
    name = string
    location = string
    }))
    default = {
    "australiacentral" = {
    name = "muvvala"
    location = "australiacentral"
    }
    }
    }

    • @NextOpsVideos
      @NextOpsVideos  7 місяців тому

      There is no wrong with code, may be somewhere in your config files there might be syntax issue.