Azure / Azure/azure-quickstart-templates
101-webapp-with-golang template does not create appsettings
- Dominant language
- Bicep
- Stars
- 14.9k
- Forks
- 16.2k
- Avg merge
- 6d 21h
- Merged PRs (30d)
- 6
Description
[101-webapp-with-golang](https://github.com/Azure/azure-quickstart-templates/tree/master/101-webapp-with-golang)
Following template won't configure **appSetting** in Azure Web app
```
"resources": [
{
"apiVersion": "2015-06-01",
"name": "web",
"type": "config",
"dependsOn": [
"[resourceId('Microsoft.Web/Sites', variables('goSite'))]"
],
"properties": {
"phpVersion": "off",
...
"appSettings": [
{
"Name": "SCM_SITEEXTENSIONS_FEED_URL",
"Value": "http://www.siteextensions.net/api/v2/"
}
]
```
I found that resource template differs in **_Azure Resource Explorer_**.
Template should change as following
```
"resources": [
{
"apiVersion": "2015-06-01",
"name": "web",
"type": "config",
"dependsOn": [
"[resourceId('Microsoft.Web/Sites', variables('goSite'))]"
],
"properties": {
"phpVersion": "off",
...
},
{
"apiVersion": "2015-08-01",
"name": "appsettings",
"type": "config",
"dependsOn": [
"[resourceId('Microsoft.Web/Sites', variables('goSite'))]"
],
"properties": {
"SCM_SITEEXTENSIONS_FEED_URL": "http://www.siteextensions.net/api/v2/"
}
}
...
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the 101-webapp-with-golang template linked in the issue and compare its resource definitions with the Azure Resource Explorer structure shown. Verify that the app setting is created through the separate appsettings resource, then deploy or validate the template to confirm SCM_SITEEXTENSIONS_FEED_URL is configured.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure
- Domain
- cloud
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100