- Le plus récent
- Le plus de votes
- La plupart des commentaires
Hi GreengrassUser,
Thanks for using Greengrass V2. You cannot find the file from the artifacts:decompressedPath
from the component process because when the lifecycle command runs its working directory will be set to the component's work path, i.e. <greengrass_root>/work/<component_name>, as described in the documentation here https://docs.aws.amazon.com/greengrass/v2/developerguide/component-recipe-reference.html and you can verify $PWD from your component process. So you can access the file from the artifacts:decompressedPath
by passing the path either as an environment variable or as an argument to your python script run lifecycle command as {artifacts:decompressedPath}/my_archive/my_bash_script.sh i.e. same as you run the python script.
Thanks,
Shagupta
Contenus pertinents
- demandé il y a un an
- demandé il y a 2 mois
- demandé il y a un an
- demandé il y a 7 mois
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 4 mois
- AWS OFFICIELA mis à jour il y a 2 ans