Hashi Corp Language:
Wednesday, April 23, 2025
Saturday, April 12, 2025
We can validated the file format through terraform fmt command.
Sunday, March 9, 2025
Terraform Installation
• yum-config-manager --add-repo https://rpm.releases.hashicorp.com/AmazonLinux/hashicorp.repo
• yum -y install terraform
• terraform version
• terram -help
• terraform -help plan
Create AWS user for the terraform setup
Create a user in AWS:
1) Login into Aws console
2) Navigate into IAM
3) Click on create user button
4) Set a permission of new user
5) Click on created user and we can able to see the option for create a key for that specific user.
6) It will prompt the use case of your requirement.
7) Choose the Command Line Interface option
8) Take a note of Access Key and secret access key. We need to define these parameter inside of Terraform while automate the infrastructure.
Terraform Architecture:
* Terraform follows a declarative approach to infrastructure management which mention a desire state of your infrastructure through configuration files. It takes care of provisioning and configuration of resources to achieve that state.
* Providers
Module is a collection of template files that resides on a single directory. Module is considered a child module of the template. Modules can be present in local or remote location. Terraform is supporting multiple resources such as Terraform Registry, version control systems, HTTP URLs and private module registries in Terraform.
Friday, March 7, 2025
- Manage infrastructure with the help of code
- It's the code used to provision resources including virtual machines such as instances on AWS , Network infrastructure including gateways etc
- You write and execute the code to define, deploy, update and destroy your infrastructure
- Code is tracked in a SCM repository
- Automation makes the provisioning process consistent, repeatable and updates fast and reliable.
- Ability to programmatically deploy and configure resources
- IAC standardize your deployment workflow
- IAC can be shared, reused and versioned.
It provide the resource allocation or built a infra structure of your requirement. For example







