Aws-sam-cli: Ignore hidden files when running sam build

Created on 26 Jun 2019  路  3Comments  路  Source: aws/aws-sam-cli

Describe your idea/feature/enhancement

When running sam build for python, sam copies the whole folder structure of the lambda base directory to the target build folder. I wish SAM CLI would ignore all the hidden files that is not needed for building the project, or at least provide a parameter to specify what folder/files should be ignored.

Additional Details

N/A

contributorgood-first-issue typfeature

Most helpful comment

Yeah each workflow in aws-lambda-builders has a series of files they excluded, but its locked into the workflow directly.

https://github.com/awslabs/aws-lambda-builders/blob/develop/aws_lambda_builders/workflows/python_pip/workflow.py#L21

I'll mark this issue as a feature request.

All 3 comments

Yeah each workflow in aws-lambda-builders has a series of files they excluded, but its locked into the workflow directly.

https://github.com/awslabs/aws-lambda-builders/blob/develop/aws_lambda_builders/workflows/python_pip/workflow.py#L21

I'll mark this issue as a feature request.

This has been merged into lambda builders. Closing.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

asyba picture asyba  路  3Comments

Caian picture Caian  路  3Comments

rhlsthrm picture rhlsthrm  路  4Comments

GerbenRampaart picture GerbenRampaart  路  3Comments

chestongo picture chestongo  路  3Comments