You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 CloudWatchLambdaInsightsExecutionRolePolicy and make some of them have LambdaInvokePolicy.
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.
Based on above error it looks like there is some issue with your template. If you are still facing this issue can you please share your template.
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.
Based on above error it looks like there is some issue with your template. If you are still facing this issue can you please share your template.
It wasn't the template, I solved this problem by removing the lambda functions from the template, then re-adding them again without the cloud watch lambda insight policy.
Description:
All I did was remove
CloudWatchLambdaInsightsExecutionRolePolicy
When I tried to deploy, I got this:I did not change anything related to
Fn::Join
or!Join
, simply removedCloudWatchLambdaInsightsExecutionRolePolicy
from all my functions. Deployment was successful prior to this change, and the error message is not specific.Steps to reproduce:
CloudWatchLambdaInsightsExecutionRolePolicy
and make some of them haveLambdaInvokePolicy
.CloudWatchLambdaInsightsExecutionRolePolicy
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)
sam --version
: SAM CLI, version 1.23.0Add --debug flag to command you are running
N/A
EDIT 1:
Adding
--debug
does not helpThe text was updated successfully, but these errors were encountered: