在 tosca 蓝图中,我试图将接收到的字典输出转换为字符串。但是我找不到与此相关的蓝图方法。我在下面的蓝图中添加了:
process:
args:
public_ip: { get_attribute: [node1, resources, aws_instance, public_ip] }
private_ip: { get_attribute: [node1, resources, aws_instance, public_ip] }
我收到以下错误:TypeError: sequence item 1: expected string, dict found。