How can I get the ip_v4 address for packer build instance

Hi,
I can use build.Password to get the instance password.
How can I get the ip_v4 address for packer build instance ?
Is there any document to check what build variable I can use ?

Thanks.
Finley.