troposphere icon indicating copy to clipboard operation
troposphere copied to clipboard

Add basestring to allowed types for Code property of Function class

Open haylix-edward opened this issue 6 years ago • 2 comments

In order to use the "aws package" command, we need to be able to provide a file/folder path to the Function resource as a simple string value.

haylix-edward avatar Jul 04 '18 06:07 haylix-edward

@haylix-edward I believe what you're looking for is aws.serverless.Function (aws docs).

JordonPhillips avatar Jul 09 '18 19:07 JordonPhillips

@JordonPhillips We did look at using those, but they don't work inside nested cloudformation stacks (it has been long enough that I don't recall exactly what the issue was).

haylix-edward avatar Jul 10 '18 00:07 haylix-edward