From 029d502eeaada4e6e2a78505cab70e9e9e9d1475 Mon Sep 17 00:00:00 2001 From: TheIronRock95 <58424695+TheIronRock95@users.noreply.github.com> Date: Sun, 9 Jul 2023 19:23:50 +0200 Subject: [PATCH 1/2] feat: module release --- examples/vpn-server-example/main.tf | 16 ++++++++-------- outputs.tf | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/examples/vpn-server-example/main.tf b/examples/vpn-server-example/main.tf index 9104e93..c4861a0 100644 --- a/examples/vpn-server-example/main.tf +++ b/examples/vpn-server-example/main.tf @@ -3,13 +3,13 @@ module "vpn_server_configuration" { source = "sironite/vpn_server_configuration/azurerm" version = "X.X.X" - vpn_server_configuration_name = "example-vpn-server-configuration" - resource_group_name = "example-resource-group" - location = "WestEurope" - vpn_authentication_types = "AzureAD" - - audience = "https://example.com" - issuer = "https://example.com" - tenant_id = "00000000-0000-0000-0000-000000000000" + vpn_server_configuration_name = "example-vpn-server-configuration" + resource_group_name = "example-resource-group" + location = "WestEurope" + vpn_authentication_types = "AzureAD" + + audience = "https://example.com" + issuer = "https://example.com" + tenant_id = "00000000-0000-0000-0000-000000000000" } diff --git a/outputs.tf b/outputs.tf index 1c9827b..8926547 100644 --- a/outputs.tf +++ b/outputs.tf @@ -1,9 +1,9 @@ output "vpn_server_configuration_id" { description = "The ID of the VPN server configuration." - value = azurerm_vpn_server_configuration.example.id + value = azurerm_vpn_server_configuration.example.id } output "vpn_server_configuration_name" { description = "The name of the VPN server configuration." - value = azurerm_vpn_server_configuration.example.name + value = azurerm_vpn_server_configuration.example.name } \ No newline at end of file From d97322e54393bf035b32bf00879989b6441816ca Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 9 Jul 2023 17:24:08 +0000 Subject: [PATCH 2/2] terraform-docs: automated action --- README.md | 79 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..1834ee5 --- /dev/null +++ b/README.md @@ -0,0 +1,79 @@ + + ## VPN Server Configuration +[![Changelog](https://img.shields.io/badge/changelog-release-green.svg)](Invullen) [![Notice](https://img.shields.io/badge/notice-copyright-yellow.svg)](NOTICE) [![Apache V2 License](https://img.shields.io/badge/license-Apache%20V2-orange.svg)](LICENSE) [![TF Registry](https://img.shields.io/badge/terraform-registry-blue.svg)](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/vpn_server_configuration) + +# Usage - Module + +## VPN Server Configuration + +```hcl + +module "vpn_server_configuration" { + source = "sironite/vpn_server_configuration/azurerm" + version = "X.X.X" + + vpn_server_configuration_name = "example-vpn-server-configuration" + resource_group_name = "example-resource-group" + location = "WestEurope" + vpn_authentication_types = "AzureAD" + + audience = "https://example.com" + issuer = "https://example.com" + tenant_id = "00000000-0000-0000-0000-000000000000" +} + +``` + +## Providers + +| Name | Version | +|------|---------| +| azurerm | >=2.0.0 | + +## Modules + +No modules. + +## Resources + +| Name | Type | +|------|------| +| [azurerm_vpn_server_configuration.example](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/vpn_server_configuration) | resource | + +## Inputs + +| Name | Description | Type | Required | +|------|-------------|------|:--------:| +| location | The location in which to create the VPN server configuration. | `string` | yes | +| resource\_group\_name | The name of the resource group in which to create the VPN server configuration. | `string` | yes | +| vpn\_server\_configuration\_name | The name of the VPN server configuration. | `string` | yes | +| audience | The audience for Azure AD authentication. | `string` | no | +| client\_root\_certificate\_name | The name of the client root certificate. | `string` | no | +| dh\_group | The Diffie-Hellman group to use. | `string` | no | +| ike\_encryption | The IKE encryption to use. | `string` | no | +| ike\_integrity | The IKE integrity to use. | `string` | no | +| ipsec\_encryption | The IPSec encryption to use. | `string` | no | +| ipsec\_integrity | The IPSec integrity to use. | `string` | no | +| issuer | The issuer for Azure AD authentication. | `string` | no | +| pfs\_group | The Perfect Forward Secrecy group to use. | `string` | no | +| public\_cert\_data | The public certificate data. | `string` | no | +| sa\_data\_size\_kilobytes | The size of the SA data in kilobytes. | `string` | no | +| sa\_life\_time\_seconds | The lifetime of the SA in seconds. | `string` | no | +| server\_adress | The address of the RADIUS server. | `string` | no | +| server\_root\_certificate\_name | The name of the server root certificate. | `string` | no | +| server\_score | The score for the RADIUS server. | `string` | no | +| server\_secret | The secret for the RADIUS server. | `string` | no | +| tenant\_id | The tenant ID for Azure AD authentication. | `string` | no | +| tumbprint | The thumbprint for the client root certificate. | `string` | no | +| vpn\_authentication\_types | The type of VPN authentication to use. | `string` | no | +| vpn\_protocols | The VPN protocols to use. | `string` | no | + +## Outputs + +| Name | Description | +|------|-------------| +| vpn\_server\_configuration\_id | The ID of the VPN server configuration. | +| vpn\_server\_configuration\_name | The name of the VPN server configuration. | + +## Related documentation + \ No newline at end of file