Question
Netlify Environment Variable Scope for Build Functions
Ash Moss
0 reputation · 19 Aug 2020, 23:46 UTC
57.6K views0
Netlify Function Environment Variable Scope
The configuration allows setting environment variables for deployments.
Uncertainty exists regarding which specific build phases—pre-build, build execution, or post-deploy hooks—reliably inherit all defined site-level environment variables when executing a Netlify Function.
Verification Questions
- Does the function runtime environment guarantee access to all variables defined in the site settings?
- Are there documented constraints on which specific function types support full environment variable inheritance?