I am looking to use software packages for firmware releases. Currently my team uses downloads firmware from a presigned url which is part of the job document:
{
"operation": "fw_update",
"esp32": {
"url": "${aws:iot:s3-presigned-url:https://my-bucket-01.s3.amazonaws.com/ReleasePackages/12345/esp32.bin",
}
}
How do I update this to get the path from the verion's attribute? I was thinking something like this? Also pointers to documentation on nested substitution or another workaround would be appreciated.
{
"operation": "fw_update",
"esp32": {
"url": "${aws:iot:s3-presigned-url:${aws:iot:package:myPackage:version:12345:attributes:esp32_binary}}",
}
}