DevOps Classroom notes 26/Dec/2023

Terraform Datasources

  • Refer Here for official docs
  • Use the security group module created in the past session to create a security group in default vpc.

    • To Get default vpc we have used data source
  • Refer Here for the changes done.
    Preview

Terraform Backends

  • Refer Here for official docs
  • Backend type defines where the state is stored
    Preview
  • Backends also needs locking mechanism
  • Some Backends like s3 donot support locking by default.
    Preview
  • Lets implemenet s3 bucket as backend type Refer Here
    • Created a bucket called as qtdectfstate
    • Create a DynamoDb table qtterraformstate with partition key LockID
    • Now add the backend section to the terraform configuration
    • Refer Here for the changes done
  • Lets implement azurerm backend Refer Here for the changes

Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Animated Social Media Icons by Acurax Responsive Web Designing Company

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube