This repository provides a quick and easy way to set up and manage Google Cloud Platform (GCP) resources using Terraform. It is designed for learning, experimentation, and rapid prototyping in GCP.
- Automates the creation of GCP resources.
- Modular and reusable Terraform configurations.
- Quick setup for GCP labs and testing environments.
- Easy-to-follow structure for beginners and advanced users.
- Terraform installed on your local machine.
- A GCP account with billing enabled.
- Google Cloud SDK installed and authenticated.
- A GCP project created and set as the active project.
-
Clone the repository:
git clone https://github.com/bhowmickkrishnendu/QUICK-GCP-LAB-With-Terraform.git cd QUICK-GCP-LAB-With-Terraform -
Initialize Terraform:
terraform init
-
Review and customize the
variables.tffile to match your GCP setup. -
Apply the Terraform configuration:
terraform apply
-
Confirm the changes and wait for the resources to be provisioned.
-
To destroy the resources when done:
terraform destroy
main.tf: Main Terraform configuration file.variables.tf: Input variables for customization.outputs.tf: Outputs for the created resources.README.md: Documentation for the repository.
- Ensure you have sufficient permissions in your GCP account to create and manage resources.
- Use this repository responsibly to avoid unexpected charges in your GCP account.
This project is licensed under the MIT License.
Contributions are welcome! Feel free to open issues or submit pull requests.
This repository is intended for educational purposes only. Use it at your own risk.