1 2 3 4 |
target_ami = formatlist( "arn:aws:ec2:ap-northeast-1:611111111111:instance/%s", data.aws_instances.instances.ids[*] ) |
1 2 3 4 5 |
> formatlist("aaaaaaaaaaaaaaaa/%s", data.aws_instances.instances.ids[*]) [ "aaaaaaaaaaaaaaaa/i-11111111111111111", "aaaaaaaaaaaaaaaa/i-66666666666666666", ] |