Examples for Terraform Variables (Part-9)

Terraform variable using TF_VAR environment variables example How to set Terraform Variables in Windows? Steps to Use TF_VAR Environment Variables Example Let’s walk through an example where…

Read More

Command to Apply Multiple .tfvars Files (Part-10)

Here’s how you can specify multiple .tfvars files when running the terraform apply command: Example Assume you have the following .tfvars files: dev.tfvars prod.tfvars override.tfvars Applying the…

Read More

How to User Terraform code to create Azure resource (Part -8)

Simple examples to create resource group Create Azurerm provider Under configuration option Use below available options: Azure Provider: Authenticating using a Service Principal with a Client Secret…

Read More

Types of Variable in Terraform (Part-7)

There are three primary types of variables in Terraform: 1. Input Variables Input variables are used to define values that can be passed into the Terraform configuration…

Read More

What is Terraform Module (Part-6)

What are Terraform Modules? Terraform modules are a way to organize and reuse Terraform configurations. They allow you to group multiple resources together and can be used…

Read More

Variables in Terraform (Part-5)

Types of variables In Terraform, there are several types of variables that you can define, including: How to declare variables in Terraform? As per below image we…

Read More

How to write Terraform code (Part-4)

How to do write Terraform code? How to Write Code in Terraform Example Steps All the services in AWS and Azure are know as Resources. Please find…

Read More

How to install providers (Part-3)

What is providers? In Terraform, a provider is a plugin that interacts with the APIs of various cloud platforms and services. Providers are responsible for understanding API…

Read More

How to create AWS Free Tier Account for 12 months.

Step1 : – go to below link: https://aws.amazon.com/free/?sc_icontent=awssm-evergreen-free_tier&sc_iplace=2up&trk=ha_awssm-evergreen-free_tier&sc_ichannel=ha&sc_icampaign=evergreen-free_tier&all-free-tier.sort-by=item.additionalFields.SortRank&all-free-tier.sort-order=asc&awsf.Free%20Tier%20Types=*all&awsf.Free%20Tier%20Categories=*all Go down and read the services which are free and for how many months: Step 2: click on create…

Read More

How to Start and Install Terraform (Part-2)

How to install terraform in windows? https://developer.hashicorp.com/terraform/install Step – 2 – Extract it into C:\tools\hashicorp\terraform [ filename – terraform.exe ] Step – 3 – ADD “C:\tools\terraform” PATH…

Read More

What is terraform and How it works (Part-1)

What is terraform? What is Terraform? What is infrastructure? In Terraform, “infrastructure” refers to the collection of resources and services that you set up and manage using…

Read More

Package your Python code as Wheel File (Part-20)

Package your Python code as Wheel File If you want to share code with others or create libraries for your code so other can use your code….

Read More

map() function in Python (Part-19)

Using map() Function in Python The map() function in Python is used to apply a function to all the items in an input list. Here are some…

Read More

User Input | input() function |File Handling| open() function in Python (Part-18)

Using input() in Python 3.6 and later When you run this code, it will prompt you to enter a username and then print the entered username. Using…

Read More

Try…Except in Python | Exception handling in Python (part-17)

Exception Handling When an error occurs, or exception as we call it, Python will normally stop and generate an error message. These exceptions can be handled using…

Read More

PIP in Python (Part-16)

What is PIP? PIP is a package manager for Python. It allows you to install and manage additional libraries and dependencies that are not included in the…

Read More

JSON in Python (Part-15)

JSON in Python JSON (JavaScript Object Notation) is a lightweight data interchange format that’s easy for humans to read and write, and easy for machines to parse…

Read More

Dates and Math in Python (Part-14)

1.Dates in Python Dates in Python Python has a built-in module called datetime to work with dates and times. Here’s an overview of how to handle dates…

Read More

Modules in Python (Part-13)

What is a Module? A module is a file containing Python definitions and statements. The file name is the module name with the suffix .py added. Modules…

Read More

Variable Scope in Python (Part-12)

Local Scope A variable declared inside a function is local to that function and can only be used within that function. These variables are created when the…

Read More