sst / ion

SST v3
https://sst.dev
MIT License
1.88k stars 221 forks source link

@sst-provider/planetscale config is ignored #487

Closed beeirl closed 3 months ago

beeirl commented 4 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`
thdxr commented 3 months ago

if you use latest sst try just doing sst add planetscale and configuring it in the planetscale block

thdxr commented 3 months ago

this seems to be working for me so closing the issue - feel free to reopen