Replies: 3 comments
-
A New serverless resource 👍🏽 Let me move this to appropriate repo. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Any update on this ? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Related to #2107 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe your idea/feature/enhancement
I wish SAM CLI would support AWS::Synthetics::Canary deployments as for Lambda Functions.
If I understand well CloudFormation documentation the code need to be uploaded to an S3 bucket as zip artifact or included inline into Script property like:
it is very inconvenient to write the script inline inside the template (eslint not working, differences through git cannot be compared comfortably, forces to copy, escape, and paste code from a separate .js script..).
Proposal
It would be great to have a configuration similar to this one:
in order to be able to create script inside local directory
./src
(for example) and then automatically create/update Canaries source code script.Additional Details
If I understand well the Canary code is internally loaded as a Lambda Layer, maybe it would be easier to take inspiration from
AWS::Serverless::LayerVersion
instead ofAWS::Serverless::Function
.Beta Was this translation helpful? Give feedback.
All reactions