If one of the API endpoint environment variables is missing, a TypeError is thrown TypeError: can only concatenate str (not "NoneType") to str
This error should be more intuitive to point at the missing environment variable
match api:
case 'arm':
stat_token[tenant]['armtoken'] = cred.get_token("https://" + arm_endpoint + "/.default", tenant_id=tenant)
TypeError: can only concatenate str (not "NoneType") to str
If one of the API endpoint environment variables is missing, a TypeError is thrown
TypeError: can only concatenate str (not "NoneType") to str
This error should be more intuitive to point at the missing environment variable