Skip to content

Add bref deploy --param for serverless.yml applications - #65

Merged
mnapoli merged 2 commits into
mainfrom
cloud-119
Oct 6, 2026
Merged

mnapoli merged 2 commits into
mainfrom
cloud-119

Conversation

@mnapoli

@mnapoli mnapoli commented Oct 6, 2026 •

Copy link
Copy Markdown
Member

bref deploy --param="key=value" (repeatable) passes Serverless Framework parameters to a serverless.yml application, like serverless deploy --param.

  • The params are forwarded as-is to osls, on serverless deploy and on the serverless info that follows it (otherwise a ${param:...} without a default would fail there, after a successful deployment).
  • bref.php applications reject the option with an error, before creating the deployment.

Checked locally that osls@3 accepts --param on deploy and info, and resolves --param <value> passed as a separate argument (osls print, including a value that contains =). Not tested against Bref Cloud.

The params are forwarded as-is to osls, on both `serverless deploy` and the
`serverless info` that follows it, so that `${param:...}` variables resolve
in both. bref.php applications reject the option.

Claude-Session: https://claude.ai/code/session_01Y4Gb7wKthAh4iXemSDps7M
@mnapoli
mnapoli merged commit 9c47667 into main Oct 6, 2026
4 checks passed
@mnapoli
mnapoli deleted the cloud-119 branch October 6, 2026 21: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