Skip to content

express-route gateway connection create - TypeError: 'NoneType' object is not iterable #16904

Description

@amsgeodis

Describe the bug

Command Name
az network express-route gateway connection create

Errors:

'NoneType' object is not iterable
Traceback (most recent call last):
python3.6/site-packages/knack/cli.py, ln 233, in invoke
    cmd_result = self.invocation.execute(args)
cli/core/commands/__init__.py, ln 664, in execute
    raise ex
cli/core/commands/__init__.py, ln 727, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
...
azure/cli/core/__init__.py, ln 816, in default_command_handler
    return op(**command_args)
cli/command_modules/network/custom.py, ln 2747, in create_express_route_connection
    ids=[SubResource(id=propagated_route_table) for propagated_route_table in propagated_route_tables]
TypeError: 'NoneType' object is not iterable

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

  • Put any pre-requisite steps here...
  • az network express-route gateway connection create --gateway-name {} --name {} --peering {} --resource-group {}

Expected Behavior

Environment Summary

Linux-4.4.0-18362-Microsoft-x86_64-with-debian-stretch-sid
Python 3.6.10
Installer: DEB

azure-cli 2.19.1

Additional Context

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions