Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hazelops/terraform-aws-ec2-openvpn-connector
https://github.com/hazelops/terraform-aws-ec2-openvpn-connector
Last synced: 19 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/hazelops/terraform-aws-ec2-openvpn-connector
- Owner: hazelops
- License: mit
- Created: 2021-09-06T18:36:34.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-17T11:24:55.000Z (9 months ago)
- Last Synced: 2024-05-17T12:36:18.825Z (9 months ago)
- Language: HCL
- Size: 24.4 KB
- Stars: 0
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AWS OpenVPN Cloud Connector
This module is used to deploy a [connector](https://openvpn.net/cloud-docs/connector/) to OpenVPN Cloud.## Requirements
| Name | Version |
|------|----------|
| [terraform](#requirement\_terraform) | \>= 0.13 |
| [local](#requirement\_local) | ~> 1.2 |## Providers
| Name | Version |
|------|---------|
| [aws](#provider\_aws) | n/a |## Modules
No modules.
## Resources
| Name | Type |
|------|------|
| [aws_iam_instance_profile.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_instance_profile) | resource |
| [aws_iam_role.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role) | resource |
| [aws_iam_role_policy_attachment.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role_policy_attachment) | resource |
| [aws_instance.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/instance) | resource |
| [aws_security_group.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/security_group) | resource |
| [aws_ami.ubuntu_20_04](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/ami) | data source |
| [aws_caller_identity.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity) | data source |
| [aws_iam_policy_document.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source |
| [aws_region.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/region) | data source |## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [allowed\_cidr\_blocks](#input\_allowed\_cidr\_blocks) | List of network subnets that are allowed. According to PCI-DSS, CIS AWS and SOC2 providing a default wide-open CIDR is not secure. | `list(string)` | n/a | yes |
| [bastion\_enabled](#input\_bastion\_enabled) | Gives ability to enable or disable Bastion functionality | `bool` | `true` | no |
| [ec2\_key\_pair\_name](#input\_ec2\_key\_pair\_name) | n/a | `any` | n/a | yes |
| [env](#input\_env) | n/a | `any` | n/a | yes |
| [ext\_security\_groups](#input\_ext\_security\_groups) | External security groups to add to bastion host | `list(any)` | `[]` | no |
| [instance\_type](#input\_instance\_type) | n/a | `string` | `"t3.nano"` | no |
| [openvpn\_token](#input\_openvpn\_token) | n/a | `string` | `""` | no |
| [private\_subnets](#input\_private\_subnets) | n/a | `any` | n/a | yes |
| [ssh\_forward\_rules](#input\_ssh\_forward\_rules) | Rules that will enable port forwarding. SSH Config syntax | `list(string)` | `[]` | no |
| [ssm\_role\_arn](#input\_ssm\_role\_arn) | n/a | `string` | `"arn:aws:iam::aws:policy/service-role/AmazonEC2RoleforSSM"` | no |
| [vpc\_id](#input\_vpc\_id) | n/a | `any` | n/a | yes |
| [vpn\_enabled](#input\_vpn\_enabled) | Gives ability to enable or disable Cloud OpenVPN EC2 connector functionality | `bool` | `true` | no |## Outputs
| Name | Description |
|------|-------------|
| [cmd](#output\_cmd) | n/a |
| [instance\_id](#output\_instance\_id) | n/a |
| [security\_group](#output\_security\_group) | n/a |
| [ssh\_config](#output\_ssh\_config) | n/a |