-
Notifications
You must be signed in to change notification settings - Fork 162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support deployment slot settings #838
Comments
Why not just: let myWebApp = webApp {
name "test"
add_slot deploymentSlot
settings ["my_setting", "test value" ]
slot_settings ["my_slot_setting", “sticky_value” ]
}
or is that not a convenient api to deal with slot settings? |
In ARM templates both slot and non-slot settings are specified in |
Sure, but there’s no reason Farmer has to have the same API as the ARM templates, we are free make a more sensible API where we can. And that was my question, is it not more sensible to specify slot settings in a way similar to normal settings. An issue with using Of course another option is to validate the |
I got you. Yes, we can modify it to have Farmer style: I will update PR |
It is possible to set slot settings to be sticky which will keep it in the deployment slot after swapping deployment/prod.
In ARM templates it is done using
slotConfigNames
ofMicrosoft.Web/sites/config
resource. DocumentationProposed solution:
The text was updated successfully, but these errors were encountered: