How satyavinayak-e/terraform-gcp-automation works
This repository is an offline-oriented Terraform example for modeling GCP infrastructure. A user runs Terraform to review a plan; the configuration is parameterized and organized into reusable VPC and compute modules, with a local backend and root outputs. The documented infrastructure stages are a VPC, its subnet, and a Compute Engine VM. No source excerpts were provided, so relationships below rely on the README; module wiring and resource details beyond its architecture description are not asserted.
Main entry points: vpc/main.tf Subnet · main.tf Root Configuration · compute/main.tf Compute VM
Components 12
Terraform Configuration
- Root Configuration
main.tf - Root Inputs
variables.tf - Root Outputs
outputs.tf - Local Backend
backend.tf
Network Module
- VPC Network
modules/vpc/main.tf - VPC Inputs
modules/vpc/variables.tf - VPC Outputs
modules/vpc/outputs.tf - Subnet
modules/vpc/main.tf
Compute Module
- Compute VM
modules/compute/main.tf - Compute Inputs
modules/compute/variables.tf - Compute Outputs
modules/compute/outputs.tf
Other components
- Terraform User
Connections 3
- Terraform User → Root Configuration: plans
README.md - VPC Network → Subnet: contains
README.md - Subnet → Compute VM: contains
README.md