serverless-pseudo-parameters
Advanced tools
Comparing version 0.1.2 to 0.1.3
{ | ||
"name": "serverless-pseudo-parameters", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"devDependencies": {}, | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -20,3 +20,3 @@ Serverless AWS Pseudo Parameters | ||
Usage | ||
-------- | ||
----- | ||
Add one of the pseudo parameters to any resource parameter, and it will be replaced during deployment. Mind you to replace the default `${}` with a `#{}`. So `${AWS::AccountId}`, becomes: `#{AWS::AccountId}` etc. | ||
@@ -41,5 +41,16 @@ | ||
Or is it to generate Arn's for Step Functions: | ||
The output in the cloudformation template will look something like this: | ||
``` | ||
"Type": "AWS::S3::Bucket", | ||
"Properties": { | ||
"BucketName": { | ||
"Fn::Sub": "photos-${AWS::AccountId}" | ||
}, | ||
} | ||
``` | ||
Or use it to generate Arn's, for example for [Step Functions](https://www.npmjs.com/package/serverless-step-functions): | ||
``` | ||
service: foobar-handler | ||
@@ -66,12 +77,1 @@ | ||
``` | ||
The output in the cloudformation template will look something like this: | ||
``` | ||
"Type": "AWS::S3::Bucket", | ||
"Properties": { | ||
"BucketName": { | ||
"Fn::Sub": "photos-${AWS::AccountId}" | ||
}, | ||
} | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3474