DevOps Classroom notes 17/Sep/2024

Terraform Ways of Working

  • Ensure you know how to manually create resources
  • List out all the resources and ensure you have creation order
  • For each resource, list all the inputs you are passing
  • For each resource you have created manually, find the equivelent terraform resource.

Activity 1: Create a vpc and 4 subnets in AWS

  • Manual steps: For guided creation on console refer class room video.
  • Refer Here for changes done

Resource Block

  • In terraform, the language which we use is called as HCL (Hashicorp configuration language) Refer Here
  • Resource syntax
resource "type_of_resource" "name" {
    arg1 = value1
    arg2 = value2
    ...
    argn = valuen

}
  • Values can be of different types Refer Here
  • Basic:
    • string
    • number
    • bool
  • To use attributes the syntax is <resource-type>.<name>.<attribute>

Activity 2: Create a virtual network in Azure

  • Refer Here for virtual network quick start
  • Manual steps: For guided creation on console refer class room video.
  • We have done till resource group creation and to be continued in the next session
  • Refer Here for the changes done so far.

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