https://github.com/terraform-aws-modules/terraform-aws-route53/blob/master/modules/records/main.tf localsalias.elb.amazon.com
on .terraformlocal.recordse
现在,我想使用输出瓮为数字海洋中的一个项目分配资源。问题是,我为资源输出URN的方式创建了一个映射,而资源只能使用字符串列表。我的代码:output "droplet_urns" { for k, drops in digitalocean_droplet.web: k => drops.urn}
如何将映射转换为列表或使用基于键的值?我在使用Terraform v1.1.9