Skip to content

Setup custom provider.deploymentBucket #12

Description

@VietHo

I noticed there was two bucket created using this plugin, one containing the static content and another one containing the cloudformation template

When I try to specify a deploymentBucket to prevent excessive number of cloudformation bucket (I want to deploy many frontends)

provider:
  name: aws
  region: eu-west-3
  deploymentBucket:
    name: my-serverless-cloudformations-bucket

I get an error even though everything seems to have been deployed alright

Error:
The CloudFormation template is invalid: Template format error: At least one Resources member must be defined.

From what I understand, setting a deploymentBucket makes the Resources part in the cloudformation template to be empty. But the cloudformation template doesn't really seem to be necessary here.

Would there be any workaround for this ? I tried to look into the plugin code but it's a bit out of my range for now

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions