Skip to content

Commit f92d664

Browse files
guides: #228 update AWS SST serverless example for latest conventions (#239)
1 parent 04f9590 commit f92d664

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

  • src/pages/guides/hosting

src/pages/guides/hosting/aws.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,7 @@ Let's look at the below example:
134134

135135
// 2) Setup hosting for static content
136136
const frontend = new sst.aws.StaticSite("MyStaticSite", {
137-
path: "./",
138-
build: {
139-
output: "public"
140-
},
137+
path: "public",
141138
})
142139

143140
// 3) Configure a CloudFront distribution with behaviors for SSR pages, API routes, and static content
@@ -176,9 +173,9 @@ Let's look at the below example:
176173

177174
<!-- prettier-ignore-end -->
178175

179-
Although the above example is hardcoded, you'll want to use the build output manifest from Greenwood by following the [complete example repo we have](https://github.com/ProjectEvergreen/greenwood-demo-adapter-aws) for deploying a full-stack Greenwood application.
176+
Although the above example is hardcoded, you'll want to use Greenwood's build output manifest to dynamically generate all your serverless configuration. We have a [complete example repo](https://github.com/ProjectEvergreen/greenwood-demo-adapter-aws) for deploying a full-stack Greenwood applications with AWS and SST you can use as a starting point.
180177

181-
> We also have an [**Architect**](https://arc.codes/) example [for reference](https://github.com/ProjectEvergreen/greenwood-demo-adapter-aws/tree/feature/arc-adapter) as well.
178+
> We also have an [**Architect**](https://arc.codes/) example [you can reference](https://github.com/ProjectEvergreen/greenwood-demo-adapter-aws/tree/feature/arc-adapter) as well.
182179
183180
## GitHub Actions
184181

0 commit comments

Comments
 (0)