This is an as-minimal-as-it-gets Vault and Consul setup using Terraform. There are many, many better ways to do this.
The configuration in this repository works, but is: insecure, not scalable, and only intended for local development. The code is being used as an example in my HashiConfEU talk.