The Terraform code provided in this file serves as a foundation for creating a landing zone within the Google Cloud Platform (GCP) environment.
The code encompasses the orchestration of essential components, including the creation of a Google Cloud Project, establishment of the network infrastructure, and deployment of a Google Kubernetes Engine (GKE) cluster.i
Leveraging Infrastructure as Code (IaC) principles, this Terraform script ensures consistency, repeatability, and version control for the entire landing zone setup.
The modular structure of the code allows for easy customization and scalability, accommodating various configurations to meet specific project requirements. Whether deploying a new landing zone or updating an existing one, this Terraform code streamlines the process, providing a comprehensive and efficient solution for managing the GCP landing zone's foundational elements. Refer to the accompanying documentation for detailed instructions on utilizing and adapting the Terraform code to suit your organization's needs.
Name | Version |
---|---|
5.11.0 | |
kubernetes | 2.25.2 |
random | 3.6.0 |
No requirements.
Name | Type |
---|---|
google_compute_firewall.cloud-allow-internal | resource |
google_compute_firewall.cloud-iap-tcp | resource |
google_compute_firewall.cloud-icmp | resource |
google_compute_network.network | resource |
google_compute_router.router | resource |
google_compute_router_nat.nat | resource |
google_compute_subnetwork.gke | resource |
google_compute_subnetwork.nat | resource |
google_container_cluster.cluster | resource |
google_project.project | resource |
google_project_service.compute | resource |
google_project_service.container | resource |
kubernetes_limit_range.example | resource |
kubernetes_namespace.customer | resource |
random_string.project_id | resource |
google_client_config.default | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
billing_account | Billing account used by the GCP project | string |
"01097E-D138F9-1AE94C" |
no |
env | Environment name for the landing zone | string |
n/a | yes |
region | Region used to deploy GCP resources | string |
"europe-west1" |
no |
No outputs.