terraform.aws-baseline-infra/modules/compute/security-groups/outputs.tf

14 lines
219 B
HCL

/*
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
}