Terraform Workspaces | Keeping environments separated

แชร์
ฝัง
  • เผยแพร่เมื่อ 13 ธ.ค. 2024

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

  • @marctatum9638
    @marctatum9638 2 หลายเดือนก่อน

    Great work Kev, clear cut and to the point!

  • @JohnSchwartz-ry3ev
    @JohnSchwartz-ry3ev 10 หลายเดือนก่อน

    Thank you for posting this. in addition separating tfvars into separate folders, is there a way to do that for resources as well? for instance, you may have applications in dev or stage but do not want them in production until you are ready and it may be a subset of applications from what is in stage or dev. so, looking to keep some common things like provider and some base config centralized (DRY) but also that the option to point to other resources. thanks

    • @letmetechyou
      @letmetechyou  10 หลายเดือนก่อน

      Hey no problem, thanks for watching. Check out this folder format and video The Best Folder Structure for Terraform | Multi-Region and Multi-Environment Terraform Deployment
      th-cam.com/video/nm_NhO5LIEE/w-d-xo.html

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

    Hi. Great video! Do companies use this method to create different environments? Would like to see how this can be automated for resource creation etc. using Azure DevOps yaml pipelines. Thanks

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

      It kind of depends on the structure of resources and how the teams are deploying. Using something like azure devops to do this could be done would just need some up front work done. I’ll share some other ways people go about this just using folder structure.