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
We have a particularly large serverless package (~15 functions) and when we try to remove an alias on it, we get the error:
'templateBody' failed to satisfy constraint: Member must have length less than or equal to 51200
It seems to actually remove the alias, but the serverless execution does not run to completion. Is there a way for the plugin to use S3 as a mechanism for CF templates that are really really big?
The text was updated successfully, but these errors were encountered:
@mbruning24 Thanks for the report. Oh, I think you're right. Deployment & co use S3 already (in the same way as Serverless does), but remove alias also generates a new CF template for the base stack. I think I just missed to apply the same mechanism there.
It would be great if someone could provide a PR to solve the issue.
Instead of putting the template into the TemplateBody property, it should be uploaded to S3 (same as with the deploy) and only the S3 object should be referenced there.
We have a particularly large serverless package (~15 functions) and when we try to remove an alias on it, we get the error:
'templateBody' failed to satisfy constraint: Member must have length less than or equal to 51200
It seems to actually remove the alias, but the serverless execution does not run to completion. Is there a way for the plugin to use S3 as a mechanism for CF templates that are really really big?
The text was updated successfully, but these errors were encountered: