Unix timestamp in Terraform?


Is there any way to output the current time as a Unix timestamp (seconds since 1970-01-01, e.g. 1569594755) in a Terraform file? I’ve looked through all the documentation for the ‘formatdate’ function and while you can do pretty much every other format you could think of, it doesn’t seem to be possible to get the standard unix timestamp of seconds since the epoch. Doesn’t seem to be anything about it in either of the other two time functions (timeadd & timestamp) either, as far as I can see.

Am I missing something?

Many thanks