configorama 0.5.6 → 0.5.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/main.js +6 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "configorama",
3
- "version": "0.5.6",
3
+ "version": "0.5.7",
4
4
  "description": "Variable support for configuration files",
5
5
  "main": "lib/index.js",
6
6
  "files": [
package/src/main.js CHANGED
@@ -1580,6 +1580,12 @@ Unable to resolve configuration variable
1580
1580
  allowSpecialCase = true
1581
1581
  } else if (params && params[variableString]) {
1582
1582
  allowSpecialCase = true
1583
+ } else if (variableString === 'ApiGatewayRestApi') {
1584
+ // Allow for "hidden" cloudformation variables, set by sls framework
1585
+ allowSpecialCase = true
1586
+ } else if (variableString === 'HttpApi') {
1587
+ // Allow for "hidden" cloudformation variables, set by sls framework
1588
+ allowSpecialCase = true
1583
1589
  }
1584
1590
  }
1585
1591
  /* Todo handle stage variables */