Skip to content

Terraform module for creating Cloud Spanner resources

Notifications You must be signed in to change notification settings

extenda/tf-module-gcp-spanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tf-module-gcp-spanner

Description

This resource creates an isolated set of Cloud Spanner resources on which databases can be hosted.

Providers

Name Version
google ~> 6.4.0

Inputs

Name Description Type Default Required
databases list(map(string)) The list of the database names and dialects, which cannot be changed after creation. Values are of the form [a-z][-a-z0-9]*[a-z0-9] [] yes
databases.dialect The dialect used for the database (GOOGLE_STANDARD_SQL or POSTGRESQL)` string GOOGLE_STANDARD_SQL no
databases.version_retention_period The database version reteintion period string 7d no
databases.ddl A list of DDL statements to run inside the newly created database. Statements can create tables, indexes, etc. These statements execute atomically with the creation of the database list [] no
display_name The descriptive name for this instance as it appears in UIs. Must be unique per project and between 4 and 30 characters in length. string n/a yes
edition The edition selected for this instance. Different editions provide different capabilities at different price points. Possible values are: EDITION_UNSPECIFIED, STANDARD, ENTERPRISE, ENTERPRISE_PLUS. string STANDARD yes
force_destroy When deleting a spanner instance, this boolean option will delete all backups of this instance. This must be set to true if you created a backup manually in the console. bool true no
instance_config The name of the instance's configuration which defines the geographic placement and replication of your databases in this instance. It determines where your data is stored. string "regional-europe-west1" no
instance_name A unique identifier for the instance, which cannot be changed after the instance is created. The name must be between 6 and 30 characters in length. string n/a yes
labels An object containing a list of key: value pairs map(string) { "created" = "terraform" } no
num_nodes The number of nodes allocated to this instance. At most one of either node_count or processing_units can be present in terraform. string null no
processing_units The number of processing units allocated to this instance. At most one of processing_units or node_count can be present in terraform. string null no
project_id The ID of the project in which the resource belongs. string n/a yes

About

Terraform module for creating Cloud Spanner resources

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages