terraform-google-event-function icon indicating copy to clipboard operation
terraform-google-event-function copied to clipboard

Support subdirectories in bucket object name

Open vilozio opened this issue 4 years ago • 1 comments

It would be nice to somehow indicate in which subdirectory the source zip file should be placed.

For example, I have a single bucket for all cloud functions sources, and I want to keep a file layout like this:

my-bucket/
    function1/hash-build.zip
    function2/hash-build.zip

My suggestion is to add an optional variable for object directory path.

vilozio avatar Apr 12 '20 11:04 vilozio

This seems like a reasonable suggestion, happy to review a PR adding it.

morgante avatar Jun 02 '20 03:06 morgante