Closed bluesatheesh closed 2 years ago
Hi @bluesatheesh , I just tried the command and worked fine for me. Also the WorkspaceUtils
does exist. Could you please pull the latest changes and try again? Thanks.
aws-iot-twinmaker-samples % python3 $GETTING_STARTED_DIR/src/modules/grafana/cleanup_grafana_dashboard_role.py --workspace-id $WORKSPACE_ID --region $AWS_DEFAULT_REGION
No dashboard role to delete was found for workspace CookieFactory.
@MaxZyantao I've fixed the issue. This is due to the python and pip. Need to use python 3.8 and above
I've deployed the cookie factory and its working perfect.
Perfect! I'll close this issue!
python3 $GETTING_STARTED_DIR/src/modules/grafana/cleanup_grafana_dashboard_role.py --workspace-id $WORKSPACE_ID --region $AWS_DEFAULT_REGION Traceback (most recent call last): File "/home/ubuntu/environment/aws-iot-twinmaker-samples/src/modules/grafana/cleanup_grafana_dashboard_role.py", line 80, in
main()
File "/home/ubuntu/environment/aws-iot-twinmaker-samples/src/modules/grafana/cleanup_grafana_dashboard_role.py", line 44, in main
ws = deploy_utils.WorkspaceUtils(
AttributeError: module 'deploy_utils' has no attribute 'WorkspaceUtils'