Skip to content

Added ServerlessDeploymentBucket handling for Serverless V4 - #219

Open
gdlin wants to merge 1 commit into
dougmoscrop:masterfrom
gdlin:master
Open

Added ServerlessDeploymentBucket handling for Serverless V4#219
gdlin wants to merge 1 commit into
dougmoscrop:masterfrom
gdlin:master

Conversation

@gdlin

@gdlin gdlin commented Dec 5, 2024

Copy link
Copy Markdown

I've added logic to allow deployments in serverless V4 with an existing bucket. It doesn't create a new bucket per each service when you have multiple services. It'll use a bucket per project and reuse it with different services.

I've tested it on the latest version of Serverless and it's working fine. However, I did not test it with a Serverless v2 or v3 project, although it should work.

Also, I've modified the tests to accommodate this behavior.

@marcelpanse

Copy link
Copy Markdown

This worked for me with V4. Why isn't this fixed / merged yet?

@Artur1DevOps

Copy link
Copy Markdown

This also worked for me with Serverless v4.

It fix issue when splitter v1.14.0 and Serverless v4 cause error:

✖ ServerlessError2: The CloudFormation template is invalid: Template format error: Unresolved resource dependencies [ServerlessDeploymentBucket] in the Resources block of the template

@wylie39

wylie39 commented Sep 8, 2025

Copy link
Copy Markdown

@dougmoscrop Any chance you can get this merged?

@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants