Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore hidden files when running sam build #1241

Closed
zhangzhx opened this issue Jun 26, 2019 · 3 comments
Closed

Ignore hidden files when running sam build #1241

zhangzhx opened this issue Jun 26, 2019 · 3 comments
Labels
contributors/good-first-issue Good first issue for a contributor type/feature Feature request

Comments

@zhangzhx
Copy link
Contributor

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

@sriram-mv
Copy link
Contributor

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.

@sriram-mv sriram-mv added the type/feature Feature request label Jun 28, 2019
@sriram-mv sriram-mv added the contributors/good-first-issue Good first issue for a contributor label Feb 8, 2020
@sriram-mv
Copy link
Contributor

This has been merged into lambda builders. Closing.

@solarmosaic-kflorence
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributors/good-first-issue Good first issue for a contributor type/feature Feature request
Projects
None yet
Development

No branches or pull requests

3 participants