This repository has been archived by the owner on Nov 5, 2024. It is now read-only.
Add --engine-arn
to update-canary
#613
Labels
--engine-arn
to update-canary
#613
Describe the feature
I'd like to see
update-canary
be capable of taking an--engine--arn
argument that does what the Java and Go SDK are capable of with setEngineArn and SetEngineArn.Use Case
When instantiating canaries outside of the AWS Console, either via IaC-related approaches or some other means, it's possible for the canary to become out-of-sync with its attendant Lambda function's latest version.
If there was a different use case that was behind the creation of the
setEngineArn
/SetEngineArn
methods of the SDKs, then I'd think that same use case would apply here as well.Proposed Solution
As mentioned, I think this could be as simple as adding an
--engine-arn
option toaws synthetics update-canary
.Other Information
No response
Acknowledgements
CLI version used
aws-cli/2.11.16 Python/3.11.3 Linux/6.2.0-33-generic
Environment details (OS name and version, etc.)
Linux/6.2.0-33-generic x86-64 Linux Mint 21.2
The text was updated successfully, but these errors were encountered: