Skip to content

Allow to ignore files from TerraformAsset #2113

Open
@DanielMSchmidt

Description

@DanielMSchmidt

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

Currently a TerraformAsset would copy (& zip) everything in the directory it points to, but sometimes you don't need all the files but a subset. We currently advise users to clean up before running cdktf, but having a glob-syntax list of things to ignore as a configuration to an asset would be a better UX.

References

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