Deploying Infrastructure Automatically To The Cloud Using Terraform and Azure Pipelines

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

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

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

    Very nice video where others only shows this from local machine, you really helped us from pipeline perspective which is real scenario in real projects. Kudos to you bro

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

    Great work, keep it up Radwan

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

    excellent job, very clear video

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

    thank you sir, very helpful

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

    great video, keep up the good work

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

    Would be nice if you explained the tfvars files as well. What is the difference between __ and $ used in the .tf file?

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

    Dear Radwan
    Great work!!!!!!!!!
    I wonder if you have similar video for synapse workspace?

  • @vini007mca1
    @vini007mca1 4 ปีที่แล้ว +2

    perfect video, great work. keep it up.

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

    good job buddy keep it up !

  • @80amnesia
    @80amnesia 2 ปีที่แล้ว

    thanks you're the best

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

    Can you please make a video by creating a pipeline using Jenkins and deploying the image in AKS

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

    can we build the pipelines for Azure Functions?

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

    If you face the error "At least one feature block should be defined", add the below piece of code in your .tf file
    provider "azurerm" {
    features {}
    }

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

    Hi, What happened if I changed some application code and run again pipeline and release, will it again create appservice or directly update my code?

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

    i execute again and i get a problems in publish job in 2023, i thing the problemas is image agent, in the inital presentation is win17 now the minimal is win19

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

    Terraform not working continuous deployment it sticks saying already a resource group there with name created

  • @Med-jz9rx
    @Med-jz9rx 3 ปีที่แล้ว +1

    well explained !

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

    I am stuck at the releases step. It is showing No release pipelines found. Help!

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

    Hi
    How to add virtual machines provisioned by terraform into ansible inventory

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

    Release pipeline is working with vs2016 hosted agent only. How I can make it work with Ubuntu?

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

    During CI phase when done edit of pipeline and tried to run the CI pipeline got error during test phase that test run failed due to framework issue. Same error occurred for publish phase as well. kindly provide resolution.

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

    Thanks

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

    Awesome :)

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

    hi @mohamed very usefull video and could you Please share the source terraform code link where should i get it ?

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

      Happy you like it. Sure, When you do the demo generator step, it will generate it on your project.

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

      Mohamed Radwan - DevOps i did same thing but unable to get the source code for same project

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

      Go to Git repo on the project and you will find the source code

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

      Mohamed Radwan - DevOps thank you and do you have any running blog with updated task related to devops pipeline

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

      Mohamed Radwan - DevOps I didn’t get terraform tf file from source code?? Could you please share the link

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

    Hi Nice explanation . thank you. In release pipeline-->Agent job(run on agent) -->agent specification what should I mention . ? I got error .
    Script failed with error: Error: The process '/bin/bash' failed with exit code 127 .

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

      Happy you like it! Thanks for your comment
      Please try to follow the exact steps

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

    Hi
    Nice walk-thought. Terraform plan stage is failing with error 2020-02-27T12:05:52.4838823Z ##[error]Error: The process 'C:\hostedtoolcache\windows\terraform\0.12.3\x64\terraform.exe' failed with exit code 1
    2020-02-27T12:05:52.4886193Z ##[section]Finishing: Terraform : plan
    Do you have any comment on this

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

      Try to follow the steps very well.
      To debug the error, try to run the command locally on your machine from cmd

    • @LZ-md1mj
      @LZ-md1mj 4 ปีที่แล้ว +2

      GK, check this out by Simeon Iliev.
      azuredevopslabs.com/labs/vstsextend/terraform/
      If this going to help someone here how we did it today:
      1/ We had to create the project second time after installing it once and it didn't create the release pipeline;
      2/ Had to add empty features object in webapp.tf, otherwise it fails on the plan. Here how it looks like, part of the file:
      ------
      terraform {
      required_version = ">= 0.11"
      backend "azurerm" {
      storage_account_name = "__terraformstorageaccount__"
      container_name = "terraform"
      key = "terraform.tfstate"
      access_key ="__storagekey__"
      features{}
      }
      }
      provider "azurerm" {
      features {}
      }
      ........... etc

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

      the error message is incomplete. please show the entire error for someone to help you better.

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

    Is it possible to convert this Build/Release Pipeline steps to YAML (To store in Repository)?

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

      Yes you can, here is the video of how to use pipeline as code with YAML
      th-cam.com/video/i77vEEVAfB8/w-d-xo.html

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

    Can you please show the same using azure free trail account?

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

      It should be the same

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

    For your release pipeline what OS of hosted version did you specify ?

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

      Linux image

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

      @@MRadwanMSF I used ubuntu 18.04 image but my Azure DevOps agent was not able to locate Terraform from hostedagent/path-to-opt/terraform and on
      I had to switch using vs2016 hosted agent and it fixed the issue

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

      OK, thanks for sharing!

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

    terraform init failed with below error.
    Error: The process 'C:\hostedtoolcache\windows\terraform\0.12.3\x64\terraform.exe' failed with exit code 1

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

      got the same error

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

      Did you solved it?

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

      you need to copy paste the entire error to help better