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! ❤️ ❤️
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.
resource "momento_cache" "example" {
name = "example"
}
For more info, visit our website at https://gomomento.com!