Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/terraform-google-modules/terraform-google-cloud-datastore
- Owner: terraform-google-modules
- License: apache-2.0
- Created: 2018-07-03T12:27:56.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-10-24T23:39:06.000Z (about 2 months ago)
- Last Synced: 2024-10-26T12:11:37.670Z (about 2 months ago)
- Topics: cft-terraform, databases
- Language: HCL
- Homepage: https://registry.terraform.io/modules/terraform-google-modules/cloud-datastore/google
- Size: 126 KB
- Stars: 22
- Watchers: 24
- Forks: 33
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Codeowners: CODEOWNERS
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.