Skip to content

slimPatterns with botocore #453

Open
@revmischa

Description

@revmischa

I'm trying to tell SLSPR to not package up parts of botocore because I don't need to make calls to the services. I tried:

  pythonRequirements:
    dockerizePip: false
    slim: true
    slimPatterns:
      # we don't need to call these services so let's not include the botocore metadata
      # it takes up a lot of space
      - "**/botocore/data/ec2/**"
      - "data/cloudfront/**"
      - "**/data/rds/**"

But ec2, cloudfront, and rds are all present in the package. What am I doing wrong?
Using latest plugin/serverless.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions