azure-docs icon indicating copy to clipboard operation
azure-docs copied to clipboard

Node PR Environments fail if you use Environment Variables.

Open sig9 opened this issue 2 years ago • 2 comments

If you have a node app that has serverless functions, your first deployment from a PR will not see the configuration variables that are visible in the portal. Your options are to re-deploy or use the portal to modify and save a configuration variable for the PR environment.

At a minimum, this should be stated as a limitation if nobody is going to acknowledge or work on issue/914.

https://github.com/Azure/static-web-apps/issues/914 See also support ticket 2209180010000070


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

sig9 avatar Dec 11 '22 18:12 sig9

@sig9

Thanks for your feedback! We will investigate and update as appropriate.

Aye, if this is an intended change (as it used to work fine) it would be nice to have the documentation reflect this change.

binkiesjoris avatar Dec 12 '22 10:12 binkiesjoris

@sig9 Thanks for your patience on this, I have checked with static webapps engineering team on this, and they have confirmed that the fix has been deployed and this doesn't require any document change. In the other referenced GitHub issue #914 it is confirmed that customers are not facing this issue. We will close this out, but if you feel you need more information, please just let us know.

Venkateshdodda-MSFT avatar Dec 19 '22 04:12 Venkateshdodda-MSFT