Closed beeirl closed 3 months ago
getting this error when passing serviceToken + serviceTokenName in to the provider config. works fine if I use env vars.
'@sst-provider/planetscale': { serviceToken: '###', serviceTokenName: '###', }
| Error DatabasePassword planetscale:index:Password Missing PlanetScale credentials.: You must set either of: - `PLANETSCALE_ACCESS_TOKEN` - `PLANETSCALE_SERVICE_TOKEN_NAME` and `PLANETSCALE_SERVICE_TOKEN`
if you use latest sst try just doing sst add planetscale and configuring it in the planetscale block
sst add planetscale
planetscale
this seems to be working for me so closing the issue - feel free to reopen
getting this error when passing serviceToken + serviceTokenName in to the provider config. works fine if I use env vars.