Terraform CI/CD with Azure DevOps

Поділитися
Вставка
  • Опубліковано 30 лис 2024

КОМЕНТАРІ • 40

  • @makarandsadavarte9523
    @makarandsadavarte9523 4 роки тому

    Thanks for sharing such a good step by step information.
    Can you please publish one video on how create terraform pipeline with YAML using Azure Devops

  • @sonergezgen8704
    @sonergezgen8704 2 роки тому +1

    Very nice and clear explanation. Thank you for that however, this pipeline will only work if you run it for the first time. The second time you'll get an error something like " already exists - to be managed via Terraform this resource needs to be imported into the State" It is because your .state file is not imported/copied in your CD pipeline so the CD pipeline tries to re-create everything from scratch...
    Not sure if this is the best solution but i removed the ".tf" and i put only "**". Like this, I was able to import/copy my .state file. in my artifacts. Now your CD pipeline should succeed.
    Ps: Enable the CD trigger to automate the process every time you have a new push/merge into your master branch.

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

    Nice and Precise tutorial... Well Done and thanks

  • @vinaykaradia6530
    @vinaykaradia6530 5 років тому

    Wonderful. Very much helpful for beginner to understand Terraform and azure DevOps together

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

    Thanks for the above vedio, its too clear.

  • @soumyarahul007
    @soumyarahul007 4 роки тому

    Excellent work Houssem!! Appreciable.

  • @duladuda9891
    @duladuda9891 5 років тому

    Superb video for begineers thank you very useful keep up the good work.

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

    thank you for this, you are brilliant and straightforward i was looking for this :)

  • @sharatbhaskar8001
    @sharatbhaskar8001 4 роки тому

    Great Explanation.....short and simple

  • @johngomes4934
    @johngomes4934 9 місяців тому

    Great tutorial. how do you select a repo folder that already exists in Azure DevOps? I tried the classic method and it only lets me chose files and not the entire repo with terraform files in it.

  • @veereshsetty5142
    @veereshsetty5142 4 роки тому

    Thank you. Could you please explain where you configured backend for terraform state

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

    very good explanation

  • @latifazhar
    @latifazhar 4 роки тому +4

    Houssem, great and simple video - although I'm novice user but it made perfect sense what you discussed in this video. Would you be kind enough to share your PUBLIC github repository link please?

    • @HoussemDellai
      @HoussemDellai  4 роки тому +4

      Hi Azhar, glad you like it :)
      Here is my repo: github.com/HoussemDellai/Terraform-Demo

  • @cx404v1
    @cx404v1 4 роки тому +1

    Simple, to the point. thanks.

  • @sboychev1
    @sboychev1 4 роки тому

    Very useful and interesting! Thank you very much

  • @sachingupta9813
    @sachingupta9813 5 років тому

    Nice presentation !!

  • @vini007mca1
    @vini007mca1 4 роки тому +1

    perfect video, great work

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

    can you please upload a vedio, init, plan, apply fine. But, How to destroy the services using azure DevOps CICD Pipeline.

  • @P88DAL
    @P88DAL 4 роки тому

    Excellent video, thanks!

  • @mariorodriguezomogrosso1215
    @mariorodriguezomogrosso1215 4 роки тому

    Hi dear, could you explain me how to save the tfstate on each deployment?

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

    thanks for the video but i m getting this error "terraform error cannot index into a null array" how can resolve it?

  • @vedanti-vidhan4766
    @vedanti-vidhan4766 4 роки тому

    great video

  • @vipuldiwan
    @vipuldiwan 4 роки тому

    Is it possible to deploy web app into Azure VM instead of Azure App Service.?

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

    in recent days terraform verbosity has increased and its not clear

  • @abrahamjunaid6933
    @abrahamjunaid6933 5 років тому

    Quick question. Must I add the copy and publish tasks. Won't I be able to use the build as an artifact in the CD pipeline?

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

      this tasks are not mandatory if you are running the CI process on the repo server itself
      because now the virtualized agents servers are running the CI process and are diff from the version control , YES , this copy and publish tasks are mandatory

  • @dontdisturb100
    @dontdisturb100 4 роки тому

    Hi.. Where is the tfstate file getting stored?

  • @allthebeesaredead188
    @allthebeesaredead188 4 роки тому

    Great stuff

  • @adamzachary6947
    @adamzachary6947 4 роки тому

    Can you add the link for the main template and variable please ?

  • @hormorneiyei
    @hormorneiyei 4 роки тому

    how can i create a pipeline with terraform modules. My IAC is set up with modules but i cant init as it fails to call the module

    • @fahadhayat110
      @fahadhayat110 4 роки тому +1

      The same way, make sure your artifiact has the complete folder that includes your modules.
      lets say your structure looks likes this:
      ./subscription
      ./subscription/main.tf
      ./subscription/provider.tf
      ./subscription/module_a/file.tf
      your artifact copy would be the complete ./subscription folder

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

    Hey bro, Nice Video. I do have couple of questions, could you please provide your response on it please ?
    1. From where did you got the Terraform Code that you used to deploy the resources ? Is this something we need to write on our Own ?
    2. How to create a Loop ? For instance, if i want to create 10 VM's simultaneously is this something possible by using single main.tf file ?

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

    niceee..

  • @pvbembalkar
    @pvbembalkar 4 роки тому

    can you please share project source code

  • @hanumanthareddy4504
    @hanumanthareddy4504 4 роки тому

    2020-03-19T08:12:49.6881506Z ##[error] Terraform failed to execute. Error: release pipeline got error . terraform plan step . pls let know what is wrong here

    • @hichembenjeddi2950
      @hichembenjeddi2950 4 роки тому

      did you find a solution for this error i have the same issue

    • @gourumadhu
      @gourumadhu 4 роки тому

      Hi I am. Also getting same error.. any luck on this?

    • @geethasantosh4271
      @geethasantosh4271 4 роки тому

      I'm also getting same error