Skip to content

Commit f639160

Browse files
fixed lambda name (#12)
1 parent ac3b524 commit f639160

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

CHANGELOG.MD

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
77

88
# <<<----- ADD NEW VERSIONS HERE
99

10+
## 2.0.4 - (August 06, 2020)
11+
### Changed
12+
- Fixed Lambda function name
13+
1014
## 2.0.3 - (August 06, 2020)
1115
### Changed
1216
- corrected Lambda handler reference

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Resources:
6262
Properties:
6363
Location:
6464
ApplicationId: arn:aws:serverlessrepo:us-east-1:673103718481:applications/CodePipeline-Waiter
65-
SemanticVersion: 2.0.3
65+
SemanticVersion: 2.0.4
6666
# Optional Parameter to control the export name of the nested stack
6767
Parameters:
6868
ExportPrefix: !Ref AWS::StackName
@@ -109,7 +109,10 @@ Although not recommended, you can also provisionally reduce the security provide
109109
AWS:
110110
# Note 1: This Lambda always creates an role session with the name "PipelineWaiterLambda"
111111
# Note 2: The InvokingAccountID is the account ID where the Lambda resides. It can be the same account or a different account (in the case of cross account pipelines)
112-
- !Sub 'arn:aws:sts::${InvokingAccountID}:assumed-role/${RoleNameCreatedByThelambda}/PipelineWaiterLambda'
112+
# Note 3: You can also pin this to the lambda's session by using the following
113+
# !Sub 'arn:aws:sts::${InvokingAccountID}:assumed-role/${RoleNameCreatedByThelambda}/PipelineWaiterLambda'
114+
# Note 4: The RoleCreatedByLambda can be found in the cloudformation stack outputs for the CodePipelineWaiter
115+
- !Sub "arn:aws:iam::${InvokingAccountID}:role/${RoleCreatedByLambda}"
113116
Action:
114117
- sts:AssumeRole
115118
Policies:

codepipeline-waiter.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Metadata:
2424
LicenseUrl: LICENSE
2525
Name: CodePipeline-Waiter
2626
ReadmeUrl: README.md
27-
SemanticVersion: 2.0.3
27+
SemanticVersion: 2.0.4
2828
SourceCodeUrl: https://github.com/xavier-thomas/aws-codepipeline-waiter
2929
SpdxLicenseId: BSD-3-Clause
3030

@@ -33,6 +33,7 @@ Resources:
3333
PipelineWaiterLambda:
3434
Type: AWS::Serverless::Function
3535
Properties:
36+
FunctionName: !Sub ${ExportPrefix}PipelineWaiterLambda
3637
Handler: index.handler
3738
Runtime: nodejs12.x
3839
CodeUri: ./dist

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "aws-codepipeline-waiter",
3-
"version": "2.0.3",
3+
"version": "2.0.4",
44
"description": "An AWS lambda for a deployment AWS code-pipeline to monitor and wait for another pipeline.",
55
"main": "src/index.js",
66
"keywords": [

0 commit comments

Comments
 (0)