DevOps Classroom notes 25/May/2025

Terraform contd

Terraform console

  • Refer Here for using terraform console
  • To launch terrform console, execute terraform console command in directory with .tf files

Implicit depenedency

  • Refer Here for the changes
  • A resource will be dependent on other resource implicitly if the attributes of the other resource are used as arguments.

AWS: Create a VPC with 4 subnets

  • Overview
    Preview
  • Manual steps

Style Guide & Linting in terraform

  • Lets follow google style guide for terraform Refer Here
  • terraform fmt or format document in vscode
  • updated workflow
    • init
    • fmt
    • validate
    • apply
    • destroy
  • We would be creating the following files in terraform template
    • providers.tf: This file will have all the necessary stuff for configuring providers
    • main.tf: This is where we start with declaring resources
  • Tags for aws
  • Refer Here for the changes done

Exercise:

  • Create a network (Virtual network) in central india with 4 subnets
  • note: in azure there is no need to provide zone while creating subnet

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