Skip to content

RyanOatz1999/terraform-google-cloud-datastore

 
 

Repository files navigation

Module for Google Cloud Datastore

This modules helps you to manage Google Cloud Datastore.

Currently, it supports index creation by shelling out to gcloud.

Compatibility

This module is meant for use with Terraform 0.12. If you haven't upgraded and need a Terraform 0.11.x-compatible version of this module, the last released version intended for Terraform 0.11.x is 0.2.0.

Usage

module "datastore" {
  source      = "terraform-google-modules/cloud-datastore/google"
  credentials = "sa-key.json"
  project     = "my-project-id"
  indexes     = "${file("index.yaml")}"
}

Module Inputs

Argument Reference:

  • source: Path to the module's folder
  • credentials: File path of a service account with access to managing Datastore.
  • project: The project id to manage datastore indexes for.
  • indexes: The contents of an index file. This can be extracted from a file on disk using "${file(var.index_file_path)}"

Inputs

Name Description Type Default Required
indexes The contents of a index.yaml file, to apply indexes from string n/a yes
project The project id string n/a yes

About

A Terraform module to help you to manage Google Cloud Datastore.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HCL 48.2%
  • Shell 19.1%
  • Makefile 19.0%
  • Ruby 13.7%