resource "aws_eip" "bastion" { instance = aws_instance.bastion.id associate_with_private_ip = aws_instance.bastion.private_ip }