-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
maintainer/need-followupstage/bug-reproThe issue/bug needs to be reproducedThe issue/bug needs to be reproducedtype/bug
Description
Description:
All I did was remove CloudWatchLambdaInsightsExecutionRolePolicy When I tried to deploy, I got this:
Waiting for changeset to be created..
Error: Failed to create changeset for the stack: myapp-dev, ex: Waiter ChangeSetCreateComplete failed: Waiter encountered a terminal failure state: For expression "Status" we matched expected path: "FAILED" Status: FAILED. Reason: Template error: every Fn::Join object requires two parameters, (1) a string delimiter and (2) a list of strings to be joined or a function that returns a list of strings (such as Fn::GetAZs) to be joined.
I did not change anything related to Fn::Join or !Join, simply removed CloudWatchLambdaInsightsExecutionRolePolicy from all my functions. Deployment was successful prior to this change, and the error message is not specific.
Steps to reproduce:
- Create 10 functions with
CloudWatchLambdaInsightsExecutionRolePolicyand make some of them haveLambdaInvokePolicy. - Deploy.
- Remove
CloudWatchLambdaInsightsExecutionRolePolicy - Deploy.
Observed result:
It results in a vague error.
Expected result:
Should not even cause an error -- also the error message should be more specific.
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
- OS: Linux, using Github Actions
sam --version: SAM CLI, version 1.23.0- AWS region: ap-southeast-1
Add --debug flag to command you are running
N/A
EDIT 1:
Adding --debug does not help
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
maintainer/need-followupstage/bug-reproThe issue/bug needs to be reproducedThe issue/bug needs to be reproducedtype/bug