Terraform backend using S3 and Dynamodb with state locking | DevOps | Infrastructure as code

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

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

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

    Great explanation to the point, Thanks for uploading

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

      Thanks Ankur, glad it was helpful for you

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

    Great explanations! Direct to the point and well done demo with all steps that were done

  • @atexnik
    @atexnik 4 หลายเดือนก่อน +1

    Thank you!

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

    Great explanation bruh

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

      Thanks Theo, glad it was helpful for you.

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

    Awesome dear . You truly deserve a comment . Life changing

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

    Great explanation

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

    Good explanation sir. It is literally brief and straight to the point :), Thanks

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

      Thanks Vishnu, glad it was helpful for you.

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

    Well done, the demo is awesome

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

      Thanks Akinsoji. Glad it was helpful for you.

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

    Thanks, very well explained.

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

    Good job 🔥 🔥 prithiviraj

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

    you are awesome man..

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

      Thanks Sudheer, glad you like my content!

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

    hello, i have done the state locking but in the console it is only showing release locks and in the dynamo db table it is showing the items , pleasse can you tell the issue

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

      Hi Utkarsh,
      Can you elaborate more on the issue?

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

      @@ajitinamdartech like when i am doing terraform plan so like in normal it shows acquiring locks and in the end show releasing locks but in my case in starting it is not showing acquiring lock but in the end it is showing releasing locks

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

    Pease make a video for understanding the basic of Terraform.

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

      Sure Rahul. I have planned for more videos on Terraform.

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

    Hi, I've three terraform state files as we are creating them module wise. Is there a way to store them in different paths rather than using workspaces?

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

      I don't know whether I understand your question correctly, but I keep my state files in S3 in different paths for individual projects / environments.

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

    in my case i've had to provide the access key for backend init: terraform init -backend-config="access_key=" -backend-config="secret_key="

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

      Did you configure aws credentials on your local machine. If yes, this was not required.

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

      Maybe for running in gitlab click button terraform?

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

    Hi all,
    I have 4 envionmnets dev,testing,non prod and prod.
    how to manage my state files using s3 and dynamodb?
    do i need to create new s3 and dynamodb for every environment?
    what are the charges for using dynamodb?

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

      Maybe try workspaces

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

      Hi Harish,
      You can use the same S3 and DynamoDB for all environments. However if you want a tighter control over your state files, you may separate the dynamodb and s3 bucket if required.