Skip to content

Conversation

@vimtor
Copy link
Collaborator

@vimtor vimtor commented Jan 20, 2026

closes #5953

proof of it working

deploying the aws-hono example:

CleanShot 2026-01-20 at 17 04 04@2x

change something in the bucket, and redeploy with --exclude Hono:

CleanShot 2026-01-20 at 17 13 20@2x

running sst refresh --exclude Hono:

CleanShot 2026-01-20 at 17 35 11@2x

running sst diff --exclude Hono:

CleanShot 2026-01-20 at 17 37 35@2x

excluding multiple components:

CleanShot 2026-01-20 at 17 43 40@2x

@jsve
Copy link
Contributor

jsve commented Jan 22, 2026

Amazing! Was just starting to look into this. Super useful if you e.g. have some heavy SSG marketing pages or docs that you don't want to keep building.

Your implementation looks very similar to mine with one crucial difference:

I sort of followed the pulumi approach of being explicit about --exclude-dependents. However, I'm with you that this is a sane default. Hence i added --no-exclude-dependents to opt out of the suggested sst default behaviour.

@vimtor
Copy link
Collaborator Author

vimtor commented Jan 22, 2026

thanks @jsve! the --exclude-dependents was added to mirror the behaviour of the existing --target flag

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Skip web app deployment during sst deploy

2 participants