Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions redis/howto/terraformprovider.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ""
Expand All @@ -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"
Expand All @@ -31,7 +31,7 @@ resource "upstash_database" "mydb" {

You can output database credentials as following

```
```tf
output "endpoint" {
value = "${upstash_database.mydb.endpoint}"
}
Expand Down