Skip to content

Comment out the Lift plugin in the serverless.yml stub - #212

Merged
mnapoli merged 1 commit into
masterfrom
aws-onboarding-stub
Sep 26, 2026
Merged

mnapoli merged 1 commit into
masterfrom
aws-onboarding-stub

Conversation

@mnapoli

@mnapoli mnapoli commented Sep 26, 2026 •

Copy link
Copy Markdown
Member

Found while redoing the onboarding from scratch (fresh laravel new app, following the Laravel getting started).

The published serverless.yml enabled the serverless-lift plugin while all the constructs are commented out, and the comment above it says "Uncomment the Serverless Lift plugin if you use constructs". Nothing in the getting started installs Lift, so the very first deploy failed before reaching AWS:

osls plugin "serverless-lift" not found. Make sure it's installed and listed in the "plugins" section of your serverless config file. Run "serverless plugin install -n serverless-lift" to install it.

The suggested command does not even exist for Bref Cloud users, who don't install osls globally (bref deploy runs npx osls@3).

The plugin line is now commented out, like the constructs, and the comment says how to install Lift. Checked that the stub packages without warnings when Lift is not installed (the empty constructs: key is fine).

The docs guides that enable constructs (queues, file storage, website assets) tell to install Lift and uncomment this line: brefphp/bref#2187. Both should be released together.

The plugin was enabled while all the constructs are commented out, and its comment says "Uncomment the Serverless Lift plugin if you use constructs". Deploying the published serverless.yml failed unless Lift was installed:

    osls plugin "serverless-lift" not found.

The comment now also says how to install Lift.
@mnapoli
mnapoli force-pushed the aws-onboarding-stub branch from 053a662 to 93e1c38 Compare September 26, 2026 13:38
@mnapoli mnapoli changed the title Clarify the region and Lift plugin comments in the serverless.yml stub Comment out the Lift plugin in the serverless.yml stub Sep 26, 2026
mnapoli added a commit to brefphp/bref that referenced this pull request Sep 26, 2026
…less.yml

brefphp/laravel-bridge#212 comments out the plugin in the published serverless.yml, so the getting started no longer needs Lift. The guides that use constructs tell to uncomment it.
@mnapoli
mnapoli merged commit 5e33b80 into master Sep 26, 2026
6 checks passed
@mnapoli
mnapoli deleted the aws-onboarding-stub branch September 26, 2026 13:41
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.

1 participant