How do we use Terraform and Vault to deploy Cloud Functions?

This is how we use Terraform and Vault to deploy Cloud Functions in Kiwi.com:

https://code.kiwi.com/how-do-we-use-terraform-and-vault-to-deploy-cloud-functions-870184a8923f

Hope someone will find it useful :slight_smile: