forseti-security / terraform-google-forseti

A Terraform module for installing Forseti on GCP
Apache License 2.0
132 stars 127 forks source link

Python not found in image #637

Closed hrvolapeter closed 2 years ago

hrvolapeter commented 2 years ago

The master version on master is failing to run due to error: /home/ubuntu/forseti-scripts/run_forseti.sh: line 64: python: command not found the used image indeed doesn't have python .

lukdajek commented 2 years ago

This is because python3 is used in the image. If you change line 64 to

GET_MODEL_STATUS="forseti model get ${MODEL_NAME} | python3 -c \"import sys, json; print (json.load(sys.stdin)['status'])\""

everything will work fine

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 15 days if no further activity occurs. Thank you for your contributions.