Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/terraform-google-modules/terraform-google-cloud-datastore

Manages Datastore
https://github.com/terraform-google-modules/terraform-google-cloud-datastore

cft-terraform databases

Last synced: about 2 months ago
JSON representation

Manages Datastore

Awesome Lists containing this project

README

        

# Module for Google Cloud Datastore

This modules helps you to manage [Google Cloud Datastore](https://cloud.google.com/datastore/docs/).

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](https://www.terraform.io/upgrade-guides/0-13.html) 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](https://registry.terraform.io/modules/terraform-google-modules/-cloud-datastore/google/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](https://cloud.google.com/datastore/docs/tools/indexconfig#Datastore_About_index_yaml).
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.