- Install the package for the AWS provider.
- Add
awsto the globals in yoursst.config.ts. - And, add it to your
providers:
sst.config.ts
Running
sst add aws above is the same as manually adding the provider to your config and running sst install.sst.config.ts
sst install if you update the providers in your config.
Arguments
provider
The provider to add.
aws, cloudflare, vercel, etc.
Custom registries
By default, these packages are fetched from the NPM registry. If you want to use a different registry, you can set theNPM_REGISTRY environment variable:
.npmrc file. If your registry requires authentication, SST supports _authToken, _auth, and username/_password from .npmrc.
Examples
Add AWS provider
Add Cloudflare provider
Add from custom registry
Related
sst install- Install all providerssst init- Initialize a new project