This modules helps you to manage Google Cloud Datastore.
Currently, it supports index creation by shelling out to gcloud.
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.
module "datastore" {
source = "terraform-google-modules/cloud-datastore/google"
credentials = "sa-key.json"
project = "my-project-id"
indexes = "${file("index.yaml")}"
}
Argument Reference:
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 |
No outputs.