Azure / Azure/azure-rest-api-specs

StaticSites: Unable to set AppSettings

Open
#24,152 2 comments 2 reactions 0 assignees View on GitHub
customer-reported question Service Attention Web Apps
Dominant language
TypeSpec
Stars
3.1k
Forks
5.9k
Avg merge
2d 22h
Merged PRs (30d)
444

Description

[Microsoft.Web staticSites](https://learn.microsoft.com/en-us/azure/templates/microsoft.web/staticsites?pivots=deployment-language-arm-template)

We have this static site that we need to set som appsettings on with infrastructure as code.
![image](https://github.com/Azure/azure-quickstart-templates/assets/776919/44f4a968-edcb-4874-992d-d7cbdabce627)

We use pulumi now, and the feature is not available there and also not in terraform which lead me to investigate the ARM template definition for static sites. Looking at [this](https://learn.microsoft.com/en-us/azure/static-web-apps/publish-azure-resource-manager?tabs=azure-cli#create-the-arm-template) guide I can see that appsettings are specified in the `azuredeploy.parameters.json` file but not in the `azuredeploy.json` file and it is not mentioned in the definition linked on the top of the post.

I reported this in the pulumi slack, and they told me that it seems to be a missing feature of the Azure RM API that I should report to Microsoft - Azure.

I dont know if this is the correct repository, but you have 2k of them in the Azure organisation and bing chat told med this would fit 😅

Contributor guide

Open the contributing guide

Research direction

Start with the Microsoft.Web staticSites definition linked in the issue and compare it with the ARM template guide's azuredeploy.parameters.json and azuredeploy.json examples. Determine whether appsettings is supported by the Azure REST contract; done means the specification represents the supported configuration or clearly establishes that the capability is unavailable.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, openapi, terraform
Domain
api, cloud, infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.