added missing } in the ec2 template file