serverless-pseudo-parameters
Advanced tools
Comparing version 1.6.0 to 2.0.0
@@ -11,3 +11,3 @@ 'use strict'; | ||
this.skipRegionReplace = get(serverless.service, 'custom.pseudoParameters.skipRegionReplace', false) | ||
this.allowReferences = get(serverless.service, 'custom.pseudoParameters.allowReferences', false) | ||
this.allowReferences = get(serverless.service, 'custom.pseudoParameters.allowReferences', true) | ||
} | ||
@@ -14,0 +14,0 @@ |
{ | ||
"name": "serverless-pseudo-parameters", | ||
"version": "1.6.0", | ||
"version": "2.0.0", | ||
"devDependencies": { | ||
@@ -5,0 +5,0 @@ "jest": "^22.4.2" |
@@ -10,2 +10,4 @@ Serverless AWS Pseudo Parameters | ||
You can also use any other CloudFormation resource id as a reference, eg `#{myAwesomeResource}`, will replace it with a reference to that resource. `#{myAwesomeResource.property}` works as well. | ||
Installation | ||
@@ -77,2 +79,4 @@ ----- | ||
Properties | ||
========== | ||
The plugin also automatically replace _hardcoded_ region in `serverless.yml`. This feature can be disabled using: | ||
@@ -82,4 +86,12 @@ | ||
custom: | ||
pseudoParameters: | ||
skipRegionReplace: true | ||
pseudoParameters: | ||
skipRegionReplace: true | ||
``` | ||
You can also disable the referencing of internal resources: | ||
```yaml | ||
custom: | ||
pseudoParameters: | ||
allowReferences: false | ||
``` |
15089
95