Reputation: 5694
According to the Serverless documentation, I should be able to define params within the dashboard/console. But when I navigate there, the inputs are disabled:
I've tried following the instructions to update via CLI, with: serverless deploy --param="domain=myapp.com" --param="key=value"
. The deploy runs successfully (I get a ✔ Service deployed to...
message with no errors), but nothing appears in my dashboard. Likewise, when I run a command to check whether there are any params stored: serverless param list
, I get
Running "serverless" from node_modules
No parameters stored
Upvotes: 0
Views: 285
Reputation: 5694
It was a permissions problem. The owner of the account updated the permissions and I was able to update the inputs.
Upvotes: 0
Reputation: 2427
Passing param
flags will not upload the parameters to Dashboard/Console, it will only expose them in your configuration so you can access them with ${param:<param-name>}
. To my best knowledge, it is not possible to set Dashboard parameters with CLI, you need to set them manually via UI.
Upvotes: 1