Reputation: 31
When i use Azure CLI to deploy my PHP app by comment
az webapp deployment source config-zip --resource-group gaoExtDBApp2Linux --name gaoExtDBApp2 --src clouddrive/sqltest.zip
It throws error
'str' object has no attribute 'cloud'
Traceback (most recent call last):
File "/opt/az/lib/python3.6/site-packages/knack/cli.py", line 194, in invoke
cmd_result = self.invocation.execute(args)
....
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/client_factory.py", line 83, in _get_mgmt_service_client
resource = resource or cli_ctx.cloud.endpoints.active_directory_resource_id
AttributeError: 'str' object has no attribute 'cloud'
Please help me.
Thank you.
Upvotes: 3
Views: 1386
Reputation: 1170
Looks like this is known issue:
and it had been fixed.
So let's wait for new release :(
Upvotes: 3