Skip to content

Instantly share code, notes, and snippets.

@MichaelDavisTSN
Created October 13, 2020 15:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MichaelDavisTSN/a6611447501d8446198c20b7f722de40 to your computer and use it in GitHub Desktop.
Save MichaelDavisTSN/a6611447501d8446198c20b7f722de40 to your computer and use it in GitHub Desktop.
(custodian) [root@xx scripts]# /opt/cloud-custodian-gcp/scripts/gcprojects.py -f /opt/cloud-custodian-gcp/etc/c7n-org-config/all-projects.yml -fp /opt/cloud-custodian-gcp/etc/c7n-org-config/all-prod.yml -fnp /opt/cloud-custodian-gcp/etc/c7n-org-config/all-nonprod.yml -fl /opt/cloud-custodian-gcp/etc/c7n-org-config/all-lab.yml -fnl /opt/cloud-custodian-gcp/etc/c7n-org-config/all-nonlab.yml -fdr /opt/cloud-custodian-gcp/etc/c7n-org-config/all-dr.yml
Traceback (most recent call last):
File "/opt/cloud-custodian-gcp/scripts/gcprojects.py", line 24, in <module>
import yaml
ModuleNotFoundError: No module named 'yaml'
(custodian) [root@xx scripts]# pip list | grep -i yaml
PyYAML 5.3.1
(custodian) [root@xx scripts]#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment