Skip to content

mindvalley/tf-module-gce-pd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform Google GCE PD module

Terraform module which creates Persistent Disk (PD) resource on Google Compute Engine

Terraform versions

Terraform 0.12 and newer

Usage

module "disk" { source = . name = "my-disk" size = "30" type = "pd-ssd" compute_zone = "us-east4-a" }

Inputs

Name Description Type Default Required
name Name of the disk string disk no
size Size of the disk string 10 no
type Type of the disk string pd-ssd no
compute_zone The compute zone of the disk, default to current configured zone string n/a yes
project_id The project of the disk, default to current configured project string n/a yes

Output

Name Description Type
id Self link to the disk string