Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 1.55 KB

README.md

File metadata and controls

44 lines (30 loc) · 1.55 KB

logo

project status project stability

Momento Terraform Provider

The official Momento Terraform provider to manage Momento resources. Currently, the provider only manages the creation, deletion, and listing of Momento caches.

Full documentation for the provider can be found on the Terraform registry here.

Many thanks to Chriscbr for the original version of this code! ❤️ ❤️

Usage

terraform {
  required_providers {
    momento = {
      source = "momentohq/momento"
    }
  }
}

provider "momento" {
  api_key = var.api_key
}

The provider can use an authentication token (API key) from Momento. It can be provided through the configuration block, or through the MOMENTO_API_KEY environment variable.

Creating a cache

resource "momento_cache" "example" {
  name = "example"
}

For more info, visit our website at https://gomomento.com!