/terraform-provider-momento

Official Momento Provider to enable Terraform to manage Momento resources.

Primary LanguageGoApache License 2.0Apache-2.0

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!