openwisp

atb00ker/openwisp/gcp

Terraform Module HCL GCP

Terraform files for deploying docker-openwisp infrastructure in Google Cloud.

Install
module "openwisp" {
source = "atb00ker/openwisp/gcp"
version = "0.1.0-alpha.5"
}
plain text: /constructs/tfmod-atb00ker-openwisp-gcp/install.txt
⭐ Source on GitHub 📦 Registry page
README

Terraform(GCP): OpenWISP ![Terraform](https://registry.terraform.io/modules/atb00ker/openwisp/gcp) ![GitHub license](https://github.com/openwisp/terraform-gcp-openwisp/blob/master/LICENSE) Terraform files for deploying docker-openwisp infrastructure in Google Cloud. This module creates the infrastructure required for deploying the kubernetes cluster. Requirements 1. Create a Google Cloud service account that has atleast the following roles: - Compute Admin - Compute Network Admin - Compute Security Admin - Kubernetes Engine Admin - Service Account User - Service Usage Admin - DNS Administrator (When google_services.use_cloud_dns is true) - Cloud SQL Admin (When google_services.use_cloud_sql is true) 2. Enable following APIs allow terraform to create resources: - serviceusage.googleapis.com

Inputs (7)
NameTypeDescriptionDefault
google_servicesobject({ service_account Find documentation here: https://github.com/atb00ker/terraform-gcp-openwisp/blob required
openwisp_servicesobject({ use_openvpn = Find documentation here: https://github.com/atb00ker/terraform-gcp-openwisp/blob required
gce_persistent_diskobject({ name = string Find documentation here: https://github.com/atb00ker/terraform-gcp-openwisp/blob required
database_cloudsqlobject({ name Find documentation here: https://github.com/atb00ker/terraform-gcp-openwisp/blob required
network_configobject({ vpc_name Find documentation here: https://github.com/atb00ker/terraform-gcp-openwisp/blob required
gke_node_groupslist(object({ pool_name Find documentation here: https://github.com/atb00ker/terraform-gcp-openwisp/blob required
gke_clusterobject({ cluster_name Find documentation here: https://github.com/atb00ker/terraform-gcp-openwisp/blob required
Outputs (5)
openwisp_services — Find documentation here: https://github.com/atb00ker/terraform-gcp-openwisp/blob/master/docs/output.
ow_persistent_disk — Find documentation here: https://github.com/atb00ker/terraform-gcp-openwisp/blob/master/docs/output.
ow_cluster_ready — Find documentation here: https://github.com/atb00ker/terraform-gcp-openwisp/blob/master/docs/output.
ow_kubectl_ready — Find documentation here: https://github.com/atb00ker/terraform-gcp-openwisp/blob/master/docs/output.
infrastructure — Find documentation here: https://github.com/atb00ker/terraform-gcp-openwisp/blob/master/docs/output.
Resources (21)
google_compute_addressgoogle_compute_diskgoogle_compute_firewallgoogle_compute_global_addressgoogle_compute_networkgoogle_compute_project_default_network_tiergoogle_compute_resource_policygoogle_compute_routergoogle_compute_router_natgoogle_compute_subnetworkgoogle_container_clustergoogle_container_node_poolgoogle_dns_managed_zonegoogle_dns_record_setgoogle_project_servicegoogle_service_networking_connectiongoogle_sql_databasegoogle_sql_database_instancegoogle_sql_ssl_certgoogle_sql_usernull_resource
Details
FrameworkTerraform Module
LanguageHCL
Version0.1.0-alpha.5
Cloud GCP
★ Stars2
Forks1
Total downloads5.7k
Inputs7
Outputs5
Resources21
Examples1
LicenseGPL-3.0
Namespaceatb00ker
Updated