Closed Janpot closed 1 year ago
Just took a quick look, and this could've been similar to Lambda Function resource, but the path to the Handler is defined in the Canary.Code object.
When packaging a Lambda function you set the value of Code to the local code path, which you can't do for Canary.Code because you'd lose the Handler reference. :(
Hi @Janpot, @georgealton - I will notify the code owner for the CloudFormation package and deploy about this request and the associated PR. Thanks!
@kdaily hi any update regarding this new feature?
Thank you for the PR submission. Upon team discussion, we decided that internal discussions are needed with other SDK teams to keep consistency between SDKs. With that said, we might consider implementing this in the cross-SDK approach in the future and close this for now.
Comments on closed issues are hard for our team to see. If you need more assistance, please open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
Is your feature request related to a problem? Please describe.
Creating cloudwatch canaries with cloudformation requires uploading the test code prior to deploying.
Describe the solution you'd like
a similar solution as exists for lambda functions. Where the
package
command will upload local artifacts and update the templateDescribe alternatives you've considered
Currently have to add extra ceremony to package, upload and generate a template