Ability to run func azure functionapp fetch-app-settings with slots
See original GitHub issueWe need the ability to fetch-app-settings for a particular slot.
At the moment this does not appear to be a supported feature.
Investigative information
- Timestamp: 2017-10-26
- Function App version (1.0 or 2.0-beta): 1.0, I think?
- Function App name:
sdkdev-Functions-gysuvrx2lokek
- Function name(s) (as appropriate): n/a
- Invocation ID: n/a
- Region: West Europe
Repro steps
- Have a deployed Function App with some slots, where the app settings are defined for each slot.
- Run
func azure functionapp fetch-app-settings <YOUR_FUNCTION_NAME>
- Observe that your slot settings, predictably, are not synchronised.
- Try running `func azure functionapp fetch-app-settings <YOUR_FUNCTION_NAME>-<YOUR_SLOT_NAME>
- “Can’t find app with name …”
- etc…
Expected behavior
I should be able to provide a slot option like:
func azure functionapp fetch-app-settings <YOUR_FUNCTION_NAME> --slot <YOUR_SLOT_NAME>
Actual behavior
Unsupported
Known workarounds
Not using slots… which is a dealbreaker for us right now.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Ability to run func azure functionapp fetch-app-settings with ...
My experience is that func azure functionapp fetch-app-settings <FUNCTION NAME> retrieves the slot and non-slot settings for the current ( ...
Read more >Work with Azure Functions Core Tools
You can run 'func azure functionapp fetch-app-settings <functionAppName>' or specify a connection string in local.settings.json.
Read more >App settings reference for Azure Functions
Reference documentation for the Azure Functions app settings or environment variables used to configure functions apps.
Read more >Using Azure Functions Core Tools to fetch app settings for ...
Running our Functions locally requires a local.settings.json file to ... Now we can fetch our app settings from our Function App in Azure....
Read more >how to export and import Azure Function's "application ...
go to your new app, and navigate to 'App settings' and click edit, and put all that in the properties collection. Automated: You...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Also I’d like to add that it’s currently not possible to publish to a specific deployment slot. Publishing only works for the functionApp and not for the other function names.
This issue was moved to Azure/azure-functions-cli#353