terraform-google-cloud-datastore
terraform-google-cloud-datastore copied to clipboard
Manages Datastore
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.13. If you haven't upgraded and need a Terraform 0.12.x-compatible version of this module, the last released version intended for Terraform 0.12.x is v1.0.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 |
Outputs
No outputs.