1 Answer
- Newest
- Most votes
- Most comments
0
Hi,
In order to use archived artifacts in the lifecycle of a component within the recipe, you have to specify the unarchived path of the artifacts which is {artifacts:decompressedPath}. In your case, this will be as shown below where main2 is the name of the zip file and main.py is file inside it.
"Lifecycle": {
"Run": "python3 {artifacts:decompressedPath}/main2/main.py"
},
Thanks,
Saranya
answered 3 years ago
Relevant content
- Accepted Answerasked 2 years ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago