Skip to content

Commit

Permalink
Merge pull request #2 from sironite/task/fiirstreleas
Browse files Browse the repository at this point in the history
BREAKING CHANGE:
- Module Release
  • Loading branch information
TheIronRock95 authored Jul 9, 2023
2 parents 183be62 + d97322e commit d1b837c
Show file tree
Hide file tree
Showing 3 changed files with 89 additions and 10 deletions.
79 changes: 79 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
<!-- BEGIN_TF_DOCS -->
## 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
<!-- END_TF_DOCS -->
16 changes: 8 additions & 8 deletions examples/vpn-server-example/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

4 changes: 2 additions & 2 deletions outputs.tf
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit d1b837c

Please sign in to comment.