Open gaahrdner opened 2 years ago
Hey, @gaahrdner thanks for bringing this up. I'll look into this, My guess is the same as yours
found the change in the API, working on a fix
Hey, @gaahrdner I've released a new version of the provider, this should take care of the problem. https://registry.terraform.io/providers/s1ntaxe770r/planetscale/latest
Hey @s1ntaxe770r, thanks for the turn around, unfortunately 0.1.2 gives me the same error as 0.1.1. If I get some time I'll see if I can't dig in a bit to help out.
well, that's odd. Seems to work for me
here's the terraform file i used
terraform {
required_providers {
planetscale = {
source = "s1ntaxe770r/planetscale"
version = "0.1.2"
}
}
}
provider "planetscale" {
access_token = var.access_token
}
resource "planetscale_database" "db" {
organization = var.organization
name = var.db_name
}
output "database" {
value = planetscale_database.db.database
}
My guess is their API changed, here's some
TF_LOG
output: