{"id":20925532,"url":"https://github.com/padok-team/terraform-google-network","last_synced_at":"2025-05-13T17:33:07.120Z","repository":{"id":39705951,"uuid":"422139535","full_name":"padok-team/terraform-google-network","owner":"padok-team","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-15T11:35:26.000Z","size":206,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-11-15T12:25:08.482Z","etag":null,"topics":["google","ready-to-use","terraform"],"latest_commit_sha":null,"homepage":"","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/padok-team.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-28T09:16:48.000Z","updated_at":"2024-11-15T11:35:03.000Z","dependencies_parsed_at":"2023-02-06T06:45:34.705Z","dependency_job_id":"f8329d74-d841-4ff3-871e-10a1f9cdea23","html_url":"https://github.com/padok-team/terraform-google-network","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/padok-team%2Fterraform-google-network","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/padok-team%2Fterraform-google-network/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/padok-team%2Fterraform-google-network/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/padok-team%2Fterraform-google-network/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/padok-team","download_url":"https://codeload.github.com/padok-team/terraform-google-network/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225248007,"owners_count":17444160,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["google","ready-to-use","terraform"],"created_at":"2024-11-18T20:33:13.229Z","updated_at":"2024-11-18T20:33:13.866Z","avatar_url":"https://github.com/padok-team.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Google Network Terraform module\n\nTerraform module which creates network, subnets, and few peerings resources on Google Cloud Platform.\n\n## Examples\n\n- [Example of basic network configuration use case](examples/basic/main.tf)\n- [Example of network for GKE use case](examples/gke/main.tf)\n\n\u003c!-- BEGIN_TF_DOCS --\u003e\n## Modules\n\n| Name | Source | Version |\n|------|--------|---------|\n| \u003ca name=\"module_vpc\"\u003e\u003c/a\u003e [vpc](#module\\_vpc) | terraform-google-modules/network/google | 7.0.0 |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_gcp_peering_cidr\"\u003e\u003c/a\u003e [gcp\\_peering\\_cidr](#input\\_gcp\\_peering\\_cidr) | The CIDR to reserve for GCP service in this VPC. | `string` | n/a | yes |\n| \u003ca name=\"input_name\"\u003e\u003c/a\u003e [name](#input\\_name) | The name of the network being created. | `string` | n/a | yes |\n| \u003ca name=\"input_project_id\"\u003e\u003c/a\u003e [project\\_id](#input\\_project\\_id) | The ID of the project where this VPC will be created. | `string` | n/a | yes |\n| \u003ca name=\"input_subnets\"\u003e\u003c/a\u003e [subnets](#input\\_subnets) | The list of subnets beeing created. | \u003cpre\u003emap(object({\u003cbr\u003e    name            = string\u003cbr\u003e    region          = string\u003cbr\u003e    primary_cidr    = string\u003cbr\u003e    serverless_cidr = string\u003cbr\u003e    connector_specs = optional(object({\u003cbr\u003e      machine_type   = optional(string, null)\u003cbr\u003e      min_throughput = optional(number, null)\u003cbr\u003e      min_instances  = optional(number, null)\u003cbr\u003e      max_throughput = optional(number, null)\u003cbr\u003e      max_instances  = optional(number, null)\u003cbr\u003e    }), {})\u003cbr\u003e    secondary_ranges = map(object({\u003cbr\u003e      name = string\u003cbr\u003e      cidr = string\u003cbr\u003e    }))\u003cbr\u003e  }))\u003c/pre\u003e | n/a | yes |\n| \u003ca name=\"input_nats\"\u003e\u003c/a\u003e [nats](#input\\_nats) | The custom configuration for NAT gateways. The map key must be the nat region and there must be a subnet in that region. Possible values for mode are `ENDPOINT_INDEPENDANT_MAPPING`, `DYNAMIC_PORT_ALLOCATION` or `NONE`. | \u003cpre\u003emap(object({\u003cbr\u003e    mode      = optional(string, \"ENDPOINT_INDEPENDANT_MAPPING\")\u003cbr\u003e    min_ports = optional(number, 64)\u003cbr\u003e    max_ports = optional(number, null)\u003cbr\u003e  }))\u003c/pre\u003e | `{}` | no |\n| \u003ca name=\"input_routing_mode\"\u003e\u003c/a\u003e [routing\\_mode](#input\\_routing\\_mode) | The network routing mode (default 'GLOBAL'). | `string` | `\"GLOBAL\"` | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_gcp_services_networking_connection\"\u003e\u003c/a\u003e [gcp\\_services\\_networking\\_connection](#output\\_gcp\\_services\\_networking\\_connection) | The networking connection used by GCP for services like Cloud SQL |\n| \u003ca name=\"output_network\"\u003e\u003c/a\u003e [network](#output\\_network) | The created network |\n| \u003ca name=\"output_network_id\"\u003e\u003c/a\u003e [network\\_id](#output\\_network\\_id) | The ID of the VPC being created |\n| \u003ca name=\"output_network_name\"\u003e\u003c/a\u003e [network\\_name](#output\\_network\\_name) | The name of the VPC being created |\n| \u003ca name=\"output_network_self_link\"\u003e\u003c/a\u003e [network\\_self\\_link](#output\\_network\\_self\\_link) | The URI of the VPC being created |\n| \u003ca name=\"output_subnets\"\u003e\u003c/a\u003e [subnets](#output\\_subnets) | A map with keys of form subnet\\_region/subnet\\_name and values being the outputs of the google\\_compute\\_subnetwork resources used to create corresponding subnets. |\n| \u003ca name=\"output_subnets_ids\"\u003e\u003c/a\u003e [subnets\\_ids](#output\\_subnets\\_ids) | The IDs of the subnets being created |\n| \u003ca name=\"output_subnets_names\"\u003e\u003c/a\u003e [subnets\\_names](#output\\_subnets\\_names) | The names of the subnets being created |\n| \u003ca name=\"output_vpc_access_connectors\"\u003e\u003c/a\u003e [vpc\\_access\\_connectors](#output\\_vpc\\_access\\_connectors) | The VPC Access Connectors being created. |\n\u003c!-- END_TF_DOCS --\u003e\n\n## License\n\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n\nSee [LICENSE](LICENSE) for full details.\n\n```text\nLicensed to the Apache Software Foundation (ASF) under one\nor more contributor license agreements.  See the NOTICE file\ndistributed with this work for additional information\nregarding copyright ownership.  The ASF licenses this file\nto you under the Apache License, Version 2.0 (the\n\"License\"); you may not use this file except in compliance\nwith the License.  You may obtain a copy of the License at\n\n  https://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing,\nsoftware distributed under the License is distributed on an\n\"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, either express or implied.  See the License for the\nspecific language governing permissions and limitations\nunder the License.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpadok-team%2Fterraform-google-network","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpadok-team%2Fterraform-google-network","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpadok-team%2Fterraform-google-network/lists"}