terraform-gcp

Provision Google Cloud infrastructure with Terraform and deploy VPC networks and Compute Engine instances.

46|4|Updated Jan 27, 2026
One-click install
npx skills add https://github.com/BagelHole/DevOps-Security-Agent-Skills --skill terraform-gcp-bagelhole
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: terraform-gcp
Source: https://github.com/BagelHole/DevOps-Security-Agent-Skills/tree/main/infrastructure/cloud-gcp/terraform-gcp
Command: npx skills add https://github.com/BagelHole/DevOps-Security-Agent-Skills --skill terraform-gcp-bagelhole

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the provisioning and management of Google Cloud Platform infrastructure using Terraform, reducing manual configuration errors and accelerating deployment.

Core Features & Use Cases

  • Provider Configuration: Sets up the necessary Terraform Google provider with specified project and region.
  • Resource Deployment: Provides examples for deploying core GCP resources like VPC networks and Compute Engine instances.
  • Use Case: Use this skill to quickly set up a new GCP project with a basic network and a web server instance, ensuring consistent and repeatable infrastructure deployments.

Quick Start

Use the terraform-gcp skill to initialize a new Terraform project for GCP project 'my-gcp-project' in the 'us-west1' region.

Frequently Asked Questions about terraform-gcp

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I provision GCP infrastructure with Terraform?

You provision GCP infrastructure with Terraform by configuring the Google provider with your project and region, then deploying resources like VPC networks and Compute Engine instances to ensure consistent, repeatable cloud deployments.

What GCP resources can I deploy using Terraform for infrastructure as code?

Using Terraform for infrastructure as code, you can deploy core GCP resources such as VPC networks and Compute Engine instances, setting up a basic network and web server instance within your specified Google Cloud project.

Do I need the Google Cloud SDK to manage Terraform state for GCP?

Yes, you need the Google Cloud SDK and Terraform to manage state and execute provisioning for GCP environments. The SDK handles authentication and local execution while Terraform manages the infrastructure state.

What's the best way to automate Google Cloud deployment and reduce manual configuration errors?

Automating Google Cloud deployment with Terraform reduces manual configuration errors by defining your infrastructure as code. This approach accelerates deployment by standardizing provider configurations and resource provisioning.

Can I use Terraform to set up a new GCP project with a basic VPC network?

Yes, you can use Terraform to set up a new GCP project with a basic VPC network. By specifying your project ID and target region like 'us-west1', Terraform initializes the provider and deploys the network foundations.

Why does my Terraform GCP provider configuration require a specific region?

Your Terraform GCP provider configuration requires a specific region to determine where your Compute Engine instances and VPC networks are physically deployed, ensuring low latency and compliance for your cloud infrastructure.