Terraform is an open-source infrastructure as code (IaC) tool developed by HashiCorp. It allows you to define, provision, and manage infrastructure resources across a variety of cloud providers (like AWS, Azure, Google Cloud), as well as other services using a high-level configuration language called HashiCorp Configuration Language (HCL). Key Components of Terraform Configuration Files: These are the .tf files where you define the infrastructure you want to provision. This is where you describe the desired state of your resources. Providers: Providers are plugins that allow Terraform to interact with APIs of cloud providers, services, or platforms like AWS, Azure, Google Cloud, Kubernetes, etc. Resources: A resource is a component in your infrastructure (e.g., EC2 instances, S3 buckets, databases). Resources are declared in the configuration files. State: Terraform keeps track of your infrastructure in a state file (terraform.tfstate). This is how Terraform understands what’s been cre...
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Terraform - My-Blog https://terraform-learner.blogspot.com/ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1.What is Terraform, and how does it differ from other Infrastructure as Code tools? ANS Terraform is an open-source Infrastructure as Code (IaC) tool that is used to automate the deployment and management of infrastructure resources in a cloud or on-premises environment. Terraform allows you to define infrastructure resources, such as virtual machines, storage accounts, and networking components, in code using a declarative language. You can then use Terraform to provision, modify, and destroy those resources automatically and repeatably. Terraform differs from other IaC tools in several ways: Multi-Cloud Support: Terraform supports multiple cloud providers, including AWS, Azure, GCP, and others. This allows you to use a single tool to manage infrastructure resourc...
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ How to configure AWS CLI ? 1. You need to create in the AWS account . 2. We need to create the security credentials first as below Goto > services > IAM > Users > "Your Admin User" > Security Credentials > Create Access Key 3. Copy the secret ID ans Access Key. the credential profile can be found under $HOME/.aws/credentials From the command line tyoe > aws configure : Paste the Access ID and Secret Key Terraform command workflow ? terraform init terraform validate terraform plan terraform apply
Comments
Post a Comment