Passing the UEFI binary blob while creating AMI

Using the aws register-image it is possible to pass the UEFI data as a binary blob. I don’t see an option available in terraform while using the aws_ami resource to create the AMI from a snapshot. Can someone please help.