Closed Andrey-Shatunov closed 6 years ago
See my changes in README file.
import sys import os
from otcclient.core.userconfigaction import userconfigaction from otcclient.core.configloader import configloader from otcclient.core.OtcConfig import OtcConfig from otcclient.plugins.ecs.ecs import ecs #<=== here have to use the CLASS NOT A MODULE
if name == 'main': configloader.readUserValues() configloader.readProxyValues()
OtcConfig.OUTPUT_FORMAT = "Json"
ecs.getIamToken()
ecs.describe_vpcs()
I run, how in your exemple
And get