Skip to content

gridgain/terraform-google-gridgain9

Repository files navigation

GG9 Terraform Module for GCP

This module deploys the GG9 Java application to Google Cloud Platform.

Requirements

Name Version
google >= 6.41.0

Providers

Name Version
google 6.43.0
random 3.7.2
template 2.2.0

Modules

No modules.

Resources

Name Type
google_compute_address.instance_ip resource
google_compute_firewall.iap_ssh resource
google_compute_firewall.icmp resource
google_compute_firewall.public_ingress resource
google_compute_instance.this resource
google_compute_network.vpc resource
google_compute_project_metadata.enable_oslogin resource
google_compute_subnetwork.subnet resource
google_dns_managed_zone.cluster_zone resource
google_dns_record_set.cluster_record resource
google_kms_crypto_key.this resource
google_kms_crypto_key_iam_binding.sa_encrypter resource
google_kms_key_ring.this resource
google_project_iam_member.iap_tunnel resource
google_project_iam_member.os_admin_login resource
google_project_iam_member.os_login resource
google_project_iam_member.sa_logging resource
google_project_iam_member.sa_metrics_writer resource
google_service_account.sa resource
random_id.kms resource
google_client_openid_userinfo.this data source
template_file.gridgain_config data source

Inputs

Name Description Type Default Required
enable_disk_encryption Enable disk encryption using KMS keys bool false no
enable_oslogin Enable OS Login to compute instance bool true no
enable_project_oslogin Allow OS Login at project level bool false no
gridgain_cluster_dns GridGain Cluster DNS (FQDN) string "" no
gridgain_config GridGain config string "" no
gridgain_license GridGain license string "" no
gridgain_logging_config GridGain logging config string "" no
gridgain_ssl_cert GridGain SSL certificate. Important: The certificate must be issued for the domain zone that will be specified in gridgain_cluster_dns variable string "" no
gridgain_ssl_enable Whether SSL should be enabled bool false no
gridgain_ssl_key GridGain SSL key string "" no
image_id ImageID to use for boot disk string n/a yes
keystore_password SSL Keystore password string "" no
kms_crypto_key_id KMS crypto key in keyring string "" no
kms_key_ring_id KMS keyring id string "" no
kms_location KMS location string "us-east1" no
machine_type GCP machine type string "e2-medium" no
marketplace_labels Consumption‑tracking + common labels map(string) {} no
name_prefix Name prefix to be used for all resources string "gridgain9db" no
nodes_count Number of GG9 nodes. 1 = single node number 1 no
oslogin_access_principals List of principals that are granted access via IAP and SSH. Or leave blank to take the current user. Examples: user:[email protected], group:[email protected], serviceAccount:[email protected] list(string) [] no
project_id GCP project ID string n/a yes
public_access_enable Whether to assign external IPs to instances bool false no
public_allowlist CIDR allow list for public subnet list(string)
[
"0.0.0.0/0"
]
no
region GCP deployment region string "us-east1" no
root_disk_iops Amount of provisioned IOPS for root disk number null no
root_disk_size_gb Boot disk size in GB number 128 no
root_disk_throughput Root disk throughput in MB/s number null no
root_disk_type Boot disk size type string "pd-balanced" no
ssh_pub_key SSH public key used to connect to instances (algorithm + public key). If empty, none will be provisioned string "" no
subnet_cidr CIDR for private subnet string "10.0.0.0/24" no
subnet_id Subnet ID to be used for deployment. If empty, module should provision new subnets string "" no
vpc_id ID of an existing VPC network to attach string "" no
zones List of zones to use (first element used for single‑node) list(string)
[
"us-east1-b",
"us-east1-c"
]
no

Outputs

Name Description
cluster_dns Gridgain Cluster FQDN
instance_ids List of compute instance IDs
instance_links List of compute instance self links
instance_status List of instance status
kms_key_id KMS key id used for encryption
kms_keyring_id KMS keyring id used for encryption
oslogin_connect_commands The gcloud CLI command to connect to the compute instance using OSLogin
private_ips List of private IP addresses assigned to the instances
public_ips List of public IP addresses assigned to the instances
service_account Service Account ID
subnet_id ID of the created subet
vpc_id ID of the created/provided subnet

About

The repository contains the Terraform module to support the deployment of Gridgain9 in GCP.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages