Importing Private Terraform Modules

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ม.ค. 2025

ความคิดเห็น • 19

  • @Wahlnetwork
    @Wahlnetwork  4 ปีที่แล้ว

    Today we step into a more complex Terraform deployment using private modules and continuous integration (CI) to construct foundational resources in an AWS region. This is a fairly popular workflow across any cloud provider as it builds out all of the networking and security resources needed by future applications. Private modules allow you and your team to build opinionated blocks of code that can be used across numerous infrastructure as code (IaC) projects.

  • @petrar2d2
    @petrar2d2 ปีที่แล้ว +1

    Nooo don't give up, such great videos. You are trying to help out in a helpful manner.. you explain intimidating stuff in such a clear and honest way. Please, comeee back 😄😄

  • @phuletravinh4912
    @phuletravinh4912 8 หลายเดือนก่อน

    thank you so much for these videos, I can hear so clearly and simple English from you, easy understand for me

  • @ezrablack5395
    @ezrablack5395 ปีที่แล้ว

    I can't thank you enough for the way you explained each step of your code. This video was extremely helpful!!

  • @joshhazlecood2556
    @joshhazlecood2556 2 ปีที่แล้ว

    Awesome video Chris!

  • @Dynamic_reelz
    @Dynamic_reelz ปีที่แล้ว

    Amazing lecture🏆

  • @andresf-v8x
    @andresf-v8x 4 หลายเดือนก่อน

    great job dude

  • @mum0l57
    @mum0l57 3 หลายเดือนก่อน

    Good job, thanks!

  • @vighneshpp
    @vighneshpp 2 ปีที่แล้ว

    Amazing Video. Subscribed!!

  • @prateeksarangi9187
    @prateeksarangi9187 28 วันที่ผ่านมา

    thanks for this video , but rather than having the https , can we use the ssh connection as the source in this case that will be helpful

  • @VishwanathYadwad
    @VishwanathYadwad ปีที่แล้ว

    As like you mentioned source url I also done same thing but getting access denied. How to pass git credentials here. If possible tell how can we make of gitlab module registry here.

  • @Oswee
    @Oswee 3 ปีที่แล้ว +2

    How do you deal with // repository beeing sourced multiple times into the project? I mean... if you use // syntax 20 times then entire "private-modules" repository is cloned 20 times into the project .terraform directory. Also... how do you deal with cases where some older app project is put in the maintenance mode and needs to have older "private-module" version? In all the docs and talks HashiCorp is pretty against "monorepo" (//) setup. At first it feels appealing, easy DX, etc. But as you have more and more projects, module versioning becomes the bottleneck. Primary projects works with full CI/CD from the main branch, but some projects needs to have older shared module version.
    As it seems to me right now... one module per repository in long term is way to go. Yes, management is bit hard and clumzy... imagine like 100 modules and 100 repositories... :) But... until Git does not allow some kind sub-tags for the repo directories... it's the most future proof way to manage modules. IMO.

  • @vishalkalal
    @vishalkalal ปีที่แล้ว

    Great video Chris. I have one question, what will happen when you would use Checkov or any security tools? I tried checkov but fails to download the private repo to analyze the code.

  • @carlosrodolfoschradergarci2159
    @carlosrodolfoschradergarci2159 4 ปีที่แล้ว

    Hi chris this video is just awesome, thanks for sharing this private module aproach is very usefull, i have some experience with terraform but i cant fully comprenhend why on the gateway configuration your vpc_id is var.parent_aws_vpc_id instead of aws_vpc.name_of_the_vpc.id ?, by the way i would love if you could make a terraform course on Udemy, Thanks a lot

    • @Wahlnetwork
      @Wahlnetwork  4 ปีที่แล้ว +1

      Howdy! In this scenario, the VPC is being created by the "vpc-transit" module. The VPC id value is returned from that module using an output and then passed to the "transit-gateway" module. I use the term parent to help my brain understand that the information is coming from somewhere else. Thanks for the kudos!

    • @carlosrodolfoschradergarci2159
      @carlosrodolfoschradergarci2159 4 ปีที่แล้ว

      @@Wahlnetwork Thanks a lot, as im new using parent and child modules i did not notice it, but i have seen your other videos and now i can comprenhend it, really thanks a lot men you are the best !

  • @BrothersGame77
    @BrothersGame77 6 หลายเดือนก่อน

    I like your eyes, then your videos :)

  • @GauravKamdar-i2j
    @GauravKamdar-i2j 3 หลายเดือนก่อน

    Great videos. Please lose the background music!! or reduce the volume. It gets hard to focus on the real content.

  • @johnmorsley
    @johnmorsley 3 ปีที่แล้ว

    Please, please, please, lose the background music. I literally cannot watch! :"(