-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
62 additions
and
132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
### common | ||
|
||
```hcl | ||
module "main" { | ||
source = "hadenlabs/openvpn/aws" | ||
version = "0.2.0" | ||
providers = { | ||
aws = aws | ||
template = template | ||
local = local | ||
} | ||
public_key = local.auth_public_key | ||
private_key = local.auth_private_key | ||
admin_user = "slovacus" | ||
storage_path = "~/openvpn" | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,50 @@ | ||
<!-- DO NOT EDIT. THIS FILE IS GENERATED BY THE MAKEFILE. --> | ||
|
||
# Terraform variables | ||
|
||
This document gives an overview of variables used in the platform of the terraform-aws-openvpn. | ||
|
||
## Requirements | ||
|
||
| Name | Version | | ||
| --------- | ------- | | ||
| Name | Version | | ||
|------|---------| | ||
| terraform | >= 0.13 | | ||
| aws | >=3.2.0 | | ||
| local | >=1.3.0 | | ||
| null | >=0.1.0 | | ||
| template | >=1.0.0 | | ||
| aws | >=3.2.0 | | ||
| local | >=1.3.0 | | ||
| null | >=0.1.0 | | ||
| template | >=1.0.0 | | ||
|
||
## Providers | ||
|
||
| Name | Version | | ||
| -------- | ------- | | ||
| aws | >=3.2.0 | | ||
| null | >=0.1.0 | | ||
| Name | Version | | ||
|------|---------| | ||
| aws | >=3.2.0 | | ||
| null | >=0.1.0 | | ||
| template | >=1.0.0 | | ||
|
||
## Inputs | ||
|
||
| Name | Description | Type | Default | Required | | ||
| ----------------- | -------------------------- | -------- | --------------- | :------: | | ||
| private_key | private key | `string` | n/a | yes | | ||
| public_key | public key | `string` | n/a | yes | | ||
| admin_user | admin user | `string` | `"openvpn"` | no | | ||
| https_cidr | https cidr | `string` | `"0.0.0.0/0"` | no | | ||
| https_port | port https | `number` | `443` | no | | ||
| instance_type | type instance | `string` | `"t2.micro"` | no | | ||
| ssh_cidr | ssh cidr | `string` | `"0.0.0.0/0"` | no | | ||
| ssh_port | port ssh | `number` | `22` | no | | ||
| ssh_user | user ssh | `string` | `"ubuntu"` | no | | ||
| storage_path | storage path keys to local | `string` | `"~/openvpn"` | no | | ||
| subnet_cidr_block | subnet cidr block | `string` | `"10.0.0.0/16"` | no | | ||
| tcp_cidr | tcp cidr | `string` | `"0.0.0.0/0"` | no | | ||
| tcp_port | port tcp | `number` | `943` | no | | ||
| udp_cidr | udp cidr | `string` | `"0.0.0.0/0"` | no | | ||
| udp_port | udp tcp | `number` | `1194` | no | | ||
| vpc_cidr_block | vpc cidr block | `string` | `"10.0.0.0/16"` | no | | ||
| Name | Description | Type | Default | Required | | ||
|------|-------------|------|---------|:--------:| | ||
| private_key | private key | `string` | n/a | yes | | ||
| public_key | public key | `string` | n/a | yes | | ||
| admin_user | admin user | `string` | `"openvpn"` | no | | ||
| https_cidr | https cidr | `string` | `"0.0.0.0/0"` | no | | ||
| https_port | port https | `number` | `443` | no | | ||
| instance_type | type instance | `string` | `"t2.micro"` | no | | ||
| ssh_cidr | ssh cidr | `string` | `"0.0.0.0/0"` | no | | ||
| ssh_port | port ssh | `number` | `22` | no | | ||
| ssh_user | user ssh | `string` | `"ubuntu"` | no | | ||
| storage_path | storage path keys to local | `string` | `"~/openvpn"` | no | | ||
| subnet_cidr_block | subnet cidr block | `string` | `"10.0.0.0/16"` | no | | ||
| tcp_cidr | tcp cidr | `string` | `"0.0.0.0/0"` | no | | ||
| tcp_port | port tcp | `number` | `943` | no | | ||
| udp_cidr | udp cidr | `string` | `"0.0.0.0/0"` | no | | ||
| udp_port | udp tcp | `number` | `1194` | no | | ||
| vpc_cidr_block | vpc cidr block | `string` | `"10.0.0.0/16"` | no | | ||
|
||
## Outputs | ||
|
||
| Name | Description | | ||
| ----------- | ----------------------------------------- | | ||
| instance | return instance openvpn | | ||
| Name | Description | | ||
|------|-------------| | ||
| instance | return instance openvpn | | ||
| instance_ip | return instance openvpn elastic ip public | | ||
| private_key | return filepath privatekey | | ||
| private_key | return filepath privatekey | | ||
|
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters