Hi there, thanks very much for this useful Ansible provider for Alicloud.
I believe I may have found a bug introduced in ed325de.
When using the ali_instance module of https://github.com/alibaba/ansible-provider version 1.5.0, I receive a TypeError: string indices must be integers, not str for the following line (https://github.com/alibaba/footmark/blob/master/footmark/ecs/instance.py#L249):
if value and value["ip_address"]:
It seems that value is a string rather than a dictionary-like object? In case it is relevant, I have the assign_public_ip parameter of ali_instance set to True.
Hi there, thanks very much for this useful Ansible provider for Alicloud.
I believe I may have found a bug introduced in ed325de.
When using the
ali_instancemodule of https://github.com/alibaba/ansible-provider version 1.5.0, I receive aTypeError: string indices must be integers, not strfor the following line (https://github.com/alibaba/footmark/blob/master/footmark/ecs/instance.py#L249):It seems that
valueis a string rather than a dictionary-like object? In case it is relevant, I have theassign_public_ipparameter ofali_instanceset toTrue.