2 Risposte
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
1
To add onto Riku's comment, if the JSON file is part of the component deployment, it will be available at the start of your script. Checkout the component_dependency_name:artifacts:decompressedPath
variable in your recipe. Use that along with Riku's code to validate.
Hope this helps!
con risposta un anno fa
0
Make sure that the json file may be running faster than it is being uploaded.
For example, try adding the following function to your code and see if the file exists in the same directory.
If you cannot see the json file from the python program, then it is running faster than the upload.
import subprocess
tmp = subprocess.run(['ls', '-l'])
print(tmp)
Contenuto pertinente
- AWS UFFICIALEAggiornata 3 anni fa
- AWS UFFICIALEAggiornata un anno fa
- AWS UFFICIALEAggiornata 3 anni fa
- AWS UFFICIALEAggiornata 2 anni fa