https://github.com/deepraj1729/learning-terraform
Understanding basics of terraform to advanced concepts
https://github.com/deepraj1729/learning-terraform
eks-cluster gke-cluster iam vpc
Last synced: 7 months ago
JSON representation
Understanding basics of terraform to advanced concepts
- Host: GitHub
- URL: https://github.com/deepraj1729/learning-terraform
- Owner: deepraj1729
- License: mit
- Created: 2023-02-19T17:08:05.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-23T16:59:08.000Z (over 2 years ago)
- Last Synced: 2025-01-11T06:45:42.939Z (9 months ago)
- Topics: eks-cluster, gke-cluster, iam, vpc
- Language: HCL
- Homepage:
- Size: 13.7 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# learning-terraform
Learning terraform hands-on with interesting projects and infrastructure## Installation:
To Install `terraform` as a CLI check the installation guide provided by Hashicorp [Terraform](https://developer.hashicorp.com/terraform/tutorials/aws-get-started/install-cli)## Commands:
1. `Version`: Once installed, check if the installation was successful
terraform -version
2. `Init`: To Initialize providers and plugins:
terraform init
3. `Validate`: To Validate the configuration:
terraform validate
4. `Apply`: To Apply changes and create the resources:
terraform apply
5. `Show`: To show the current state configuration
terraform show
5. `Destroy`: To Destroy the resources:
terraform destroy
6. `Refresh`: To refresh the statefiles with the remote changes
terraform refresh
7. `Console`: To print the values of the variables (type exit to exit)
terraform console
8. `FMT`: To format the terraform expressions
terraform fmt
## Basics:
1. Blocks in terraform (hello world)
2. TF-JSON in terraform
3. Multi-Blocks in terraform
4. File Destructuring
5. Variables in terraform
6. Variable Types in terraform
7. Variable input list in terraform
8. Functions in terraform
9. TFVARS in terraform
10. Environment variables in terraform## Projects:
1. Initialize multiple `Github repositories` using `Terraform`
1. Run multiple `Docker` containers using `Terraform`
2. Setup a `Google Cloud VM Instance` using `Terraform`
3. Setup a `Kubernetes cluster` using `Terraform` and `Google Kubernetes Engine` (GKE)
4. Setup a `Kubernetes cluster` using `Terraform` and `Elastic Kubernetes Engine` (EKS)