# Generates everybody's ssh key pairs resource "aws_key_pair" "key_pair" { for_each = var.key_pairs key_name = each.key public_key = each.value }