1 Resposta
- Mais recentes
- Mais votos
- Mais comentários
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
respondido há 3 anos
Conteúdo relevante
- AWS OFICIALAtualizada há 7 meses
- AWS OFICIALAtualizada há 3 anos
- AWS OFICIALAtualizada há 6 meses
- AWS OFICIALAtualizada há 10 meses