Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/blackbird-cloud/terraform-azurerm-virtual-network-gateway
Terraform module to create an Azure Virtual Network Gateway
https://github.com/blackbird-cloud/terraform-azurerm-virtual-network-gateway
azure network terraform
Last synced: 4 days ago
JSON representation
Terraform module to create an Azure Virtual Network Gateway
- Host: GitHub
- URL: https://github.com/blackbird-cloud/terraform-azurerm-virtual-network-gateway
- Owner: blackbird-cloud
- License: apache-2.0
- Created: 2024-03-07T09:47:27.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-09-18T11:51:32.000Z (2 months ago)
- Last Synced: 2024-09-18T16:39:24.964Z (2 months ago)
- Topics: azure, network, terraform
- Language: HCL
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Terraform Azurerm Virtual Network Gateway Module
Terraform module to create an Azure Virtual Network Gateway[![blackbird-logo](https://raw.githubusercontent.com/blackbird-cloud/terraform-module-template/main/.config/logo_simple.png)](https://blackbird.cloud)
## Example
```hcl```
## Requirements
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.2 |
| [azurerm](#requirement\_azurerm) | ~> 3 |
| [external](#requirement\_external) | 2.3.3 |
| [tls](#requirement\_tls) | 4.0.5 |## Providers
| Name | Version |
|------|---------|
| [azurerm](#provider\_azurerm) | ~> 3 |
| [external](#provider\_external) | 2.3.3 |
| [tls](#provider\_tls) | 4.0.5 |## Resources
| Name | Type |
|------|------|
| [azurerm_public_ip.vgw](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/public_ip) | resource |
| [azurerm_virtual_network_gateway.vgw](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/virtual_network_gateway) | resource |
| [tls_cert_request.client](https://registry.terraform.io/providers/hashicorp/tls/4.0.5/docs/resources/cert_request) | resource |
| [tls_locally_signed_cert.client](https://registry.terraform.io/providers/hashicorp/tls/4.0.5/docs/resources/locally_signed_cert) | resource |
| [tls_private_key.client](https://registry.terraform.io/providers/hashicorp/tls/4.0.5/docs/resources/private_key) | resource |
| [tls_private_key.server](https://registry.terraform.io/providers/hashicorp/tls/4.0.5/docs/resources/private_key) | resource |
| [tls_self_signed_cert.server](https://registry.terraform.io/providers/hashicorp/tls/4.0.5/docs/resources/self_signed_cert) | resource |
| [external_external.user_thumbprints](https://registry.terraform.io/providers/hashicorp/external/2.3.3/docs/data-sources/external) | data source |## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [location](#input\_location) | The location/region where the virtual network gateway will be created. | `string` | n/a | yes |
| [name](#input\_name) | The name of the virtual network gateway. | `string` | n/a | yes |
| [public\_ip](#input\_public\_ip) | The public IP address configuration for the virtual network gateway. |object({| n/a | yes |
name = optional(string, null)
allocation_method = optional(string, "Dynamic")
sku = optional(string, "Basic")
tags = optional(map(string), {})
})
| [resource\_group\_name](#input\_resource\_group\_name) | The name of the resource group in which to create the virtual network gateway. | `string` | n/a | yes |
| [sku](#input\_sku) | The SKU of the virtual network gateway. | `string` | n/a | yes |
| [subnet\_id](#input\_subnet\_id) | The ID of the subnet in which to create the virtual network gateway. | `string` | n/a | yes |
| [tags](#input\_tags) | A mapping of tags to assign to the resource. | `map(string)` | n/a | yes |
| [type](#input\_type) | The type of the virtual network gateway. | `string` | n/a | yes |
| [vpn\_point\_to\_site](#input\_vpn\_point\_to\_site) | The VPN Point-to-Site configuration for the virtual network gateway. |object({| n/a | yes |
address_space = list(string)
aad_tenant = optional(string, null)
aad_audience = optional(string, null)
aad_issuer = optional(string, null)
radius_server_address = optional(string, null)
radius_server_secret = optional(string, null)
vpn_client_protocols = optional(list(string), null)
vpn_auth_types = optional(list(string), null)
certificate = optional(object({
name = string
organization = string
validity_period_hours = number
}), null)
clients = optional(list(string), null)
revoked_clients = optional(list(string), null)
})## Outputs
| Name | Description |
|------|-------------|
| [public\_ip](#output\_public\_ip) | The public IP address configuration for the VPN Gateway |
| [vpn\_client\_cert](#output\_vpn\_client\_cert) | The VPN Client Certificate for the VPN Gateway |
| [vpn\_client\_configuration](#output\_vpn\_client\_configuration) | The VPN Client Configuration for the VPN Gateway |
| [vpn\_client\_private\_key](#output\_vpn\_client\_private\_key) | The VPN Client Private Key for the VPN Gateway |
| [vpn\_client\_thumbprints](#output\_vpn\_client\_thumbprints) | The thumbprint of the VPN Client Certificate for the VPN Gateway |
| [vpn\_gateway\_id](#output\_vpn\_gateway\_id) | The ID of the VPN Gateway |
| [vpn\_gateway\_name](#output\_vpn\_gateway\_name) | The name of the VPN Gateway |
| [vpn\_gateway\_sku](#output\_vpn\_gateway\_sku) | The SKU of the VPN Gateway |
| [vpn\_server\_cert](#output\_vpn\_server\_cert) | The VPN Server Certificate for the VPN Gateway |## About
We are [Blackbird Cloud](https://blackbird.cloud), Amsterdam based cloud consultancy, and cloud management service provider. We help companies build secure, cost efficient, and scale-able solutions.
Checkout our other :point\_right: [terraform modules](https://registry.terraform.io/namespaces/blackbird-cloud)
## Copyright
Copyright © 2017-2024 [Blackbird Cloud](https://blackbird.cloud)