Terraform workspaces

Поділитися
Вставка
  • Опубліковано 27 сер 2024
  • Source code: github.com/Hou...
    Follow me on Twitter for more content: / houssemdellai
    More courses on Udemy: www.udemy.com/...
  • Наука та технологія

КОМЕНТАРІ • 14

  • @BalaMurugan-bz8wm
    @BalaMurugan-bz8wm 3 роки тому +1

    Thank you Houssem, was searching this for a day reached here with better approach of dealing with multiple environments.

  • @temiwale88
    @temiwale88 3 роки тому +2

    Thank you Houssem! I had gotten your CI/CD course in Udemy already. I happened to stumble on this video!

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

    Great! Thanks!

  • @coolpix1606
    @coolpix1606 3 роки тому +2

    Thank you, keep up the good work!

  • @LuisMiguelZapata
    @LuisMiguelZapata 3 роки тому +2

    Thank you... great content! :)

  • @samsonwong8242
    @samsonwong8242 2 роки тому

    Very nicely done to compare with and without workspace the difference. 5 stars

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

    Each workspace will have different state file

  • @patricknelson
    @patricknelson 2 роки тому

    What’s the typical workflow for including for only defining resources depending on context, like an environment (prod vs. test)? Variables? Workspaces? Modules? My main use case is prod vs. test environments, test may have some resources that will not exist in production. I’m using GCP, so for example, I need maybe 3 or 4 static IP addresses in my test GCP project (e.g. project-test) and in production (e.g. project-prod) I will need only 2 static IP address.

  • @SureshS-ss6ty
    @SureshS-ss6ty 3 роки тому

    Hi , I understand that workspace in terraform is not a good solution to manage multiple env. But, which scenario this workspace will give the best

  • @MrPkum
    @MrPkum 3 роки тому +1

    Thanks for the video. Multiple environment approach works great with one main.tf, is there any better approach if we have one main.tf for each modules/resources like AKS, Keyvault etc?

    • @HoussemDellai
      @HoussemDellai  3 роки тому

      One TF file per resource would be also nice. I see also some companies splitting these resources across different tf state files to not break the monolithic tf state.