Skip to content

A module to manage Google Cloud Filestore deployments until an official resource type is added to TF proper.

License

Notifications You must be signed in to change notification settings

rojopolis/terraform-google-filestore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terraform-google-filestore

A module to manage Google Cloud Filestore instances

provider "google" {}
data "google_client_config" "current" {}

module "filestore" {
    source  = "rojopolis/filestore/google""
    instance_id = "testing"
    project = "${data.google_client_config.current.project}"
    location = "us-west1-b"
    file_share = {
        capacity = "1TB"
        name     = "testing1"
    }
    network = {
        name = "default"
        reserved_ip_range = "10.217.22.0/29"
    }
    description = "A test instance"
    labels = {
        foo = "bar"
        baz = "biz"
    }
}

output "filestore_ip" {
    value = "${module.filestore.filestore_ip}"
}

External dependencies

About

A module to manage Google Cloud Filestore deployments until an official resource type is added to TF proper.

Resources

License

Stars

Watchers

Forks

Packages

No packages published