Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/michaelbeaumont/wireform
Wireguard in the cloud, fast and easy
https://github.com/michaelbeaumont/wireform
gcp terraform vpn wireguard
Last synced: 23 days ago
JSON representation
Wireguard in the cloud, fast and easy
- Host: GitHub
- URL: https://github.com/michaelbeaumont/wireform
- Owner: michaelbeaumont
- License: mit
- Created: 2020-07-28T23:01:32.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-12-29T10:56:43.000Z (about 3 years ago)
- Last Synced: 2024-11-03T07:31:03.346Z (2 months ago)
- Topics: gcp, terraform, vpn, wireguard
- Language: HCL
- Homepage:
- Size: 11.7 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Wireform
Wireform is a collection of `terraform` modules for _complete initialization_ of
a `wireguard` endpoint in the cloud for use as a VPN.The goal of this project is to make it _very easy_ to build and tear down a
wireguard endpoint in the cloud, such that one can be created and destroyed
on demand.## Prerequisites
Check the provider folders for requirements.
## Usage
This repo is a set of provider-specific modules for setting up a wireguard
endpoint, accessible only with the keys you provide when setting up
the instance. The private key also never leaves the VM!Note: None of example keys here are in use. :wink:
### Provider-specific
For example, with GCP, the following terraform can be used to set up the
wireguard endpoint.```
module "init" {
source = "./init"billing_account = "01C913-9473DA-F05E90"
region = "us-east1"
}module "instance" {
source = "./instance"project_id = module.init.project_id
subnetwork = module.init.subnetwork
source_ranges = [
"2.2.2.2/32",
]
peers = [
<