From 6bb65cd327b006c52742426db352d86617e68aa2 Mon Sep 17 00:00:00 2001 From: Ricardo Nunez <113212961+ricardonunez-io@users.noreply.github.com> Date: Mon, 27 Oct 2025 17:15:10 -0700 Subject: [PATCH] Add Terraform syntax highlighting to examples Updated code blocks to use Terraform syntax highlighting. --- redis/howto/terraformprovider.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/redis/howto/terraformprovider.mdx b/redis/howto/terraformprovider.mdx index 61f5d1cd..17a910ea 100755 --- a/redis/howto/terraformprovider.mdx +++ b/redis/howto/terraformprovider.mdx @@ -10,7 +10,7 @@ required in order to create resources. Provider requires your email address and api key which can be created in console. -``` +```tf provider "upstash" { email = "" api_key = "" @@ -21,7 +21,7 @@ provider "upstash" { As input you need to give database name, region and type. -``` +```tf resource "upstash_database" "mydb" { database_name = "testdblstr" region = "eu-west-1" @@ -31,7 +31,7 @@ resource "upstash_database" "mydb" { You can output database credentials as following -``` +```tf output "endpoint" { value = "${upstash_database.mydb.endpoint}" }