Skip to content

Instantly share code, notes, and snippets.

@ezalejski
Created May 22, 2020 12:18
Show Gist options
  • Select an option

  • Save ezalejski/5f72e2e5145def86d694c1ee9f4c9a8f to your computer and use it in GitHub Desktop.

Select an option

Save ezalejski/5f72e2e5145def86d694c1ee9f4c9a8f to your computer and use it in GitHub Desktop.
module "cluster" {
source = "github.com/erento/terraform-google-glusterfs?ref=2.0.0"
server_prefix = "glusterfs-server"
data_disk_prefix = "glusterfs-brick"
subnet_mask = "10.0.0.0/24"
ip_offset = var.ip_offset
data_disk_size = "500"
network = "your-exisiting-network"
subnetwork = "subnetwork-name-that-module-will-create-for-you"
data_disk_snapshot = "gluster-snapshot-name"
data_disk_type = "pd-standard (can also be pd-ssd if you need speed)"
volume_names = ["your-volume-name"]
tags = ["gluster", "first_tag", "second_tag"]
allowed_source_tags = ["gluster", "first_tag", "second_tag"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment