Fermyon Cloud Variables Configuration
Fermyon Cloud now supports setting application variables through the API. Spin supports dynamic application variables. Instead of being static, their values can be updated without modifying the application, creating a simpler experience for rotating secrets, updating API endpoints, and more. These variables are defined in a Spin application manifest (in the
[variables] section) and are provided by a configuration provider.
Now, when your application is deployed to Fermyon Cloud you can set and update variables for it using the
spin cloud variables command. You can also set the variables when you initally deploy the application using
spin cloud deploy --variables. The
spin cloud variables command can also be used to list variables that have been set for an appplication. For a full explanation on how to configure variables and secrets in Spin applications, read the new tutorial.