14 lines
219 B
Terraform
14 lines
219 B
Terraform
|
/*
|
||
|
output sg-id-name {
|
||
|
value = [
|
||
|
for id, name in zipmap(
|
||
|
sort(aws_security_group.sg.*.id),
|
||
|
sort(aws_security_group.sg.*.name)) :
|
||
|
tomap(id, name)
|
||
|
]
|
||
|
}
|
||
|
*/
|
||
|
|
||
|
output sg-ids {
|
||
|
value = aws_security_group.sg.*.id
|
||
|
}
|