Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

azurerm_p2s_vpn_server #4160

Closed
mybayern1974 opened this issue Aug 27, 2019 · 3 comments
Closed

azurerm_p2s_vpn_server #4160

mybayern1974 opened this issue Aug 27, 2019 · 3 comments

Comments

@mybayern1974
Copy link
Collaborator

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

Support a new Azure resource

New or Affected Resource(s)

  • azurerm_p2s_vpn_server

Potential Terraform Configuration

resource "azurerm_p2s_vpn_server" "test" {
    # Required
    name                        = "vpns1"
    location                    = "West US 2"
    resource_group_name         = ""
    virtual_wan_id              = azurerm_virtual_wan.test.id
    vpn_protocols               = [""]  # {SSTP | IkeV2 | OpenVPN}

    # Optional
    radius_configuration = {
        server_address               = ""
        server_secret                = ""
        client_root_certificate     = {     # configuration can contain multiple of these
            name        = ""
            thumbprint  = ""
        }
        server_root_certificate     = {     # configuration can contain multiple of these
            name        = ""
            public_cert = ""
        }
    }
    vpn_client_configuration = {
        revoked_certificate     = {         # configuration can contain multiple of these
            name        = ""
            thumbprint  = ""
        }
        root_certificate        = {         # configuration can contain multiple of these
            name        = ""
            public_cert = ""
        }
        ipsec_policy            = {                         # configuration can contain multiple of these
            sa_life_time_seconds        = 86472
            sa_data_size_kilobytes      = 429497
            ipsec_encryption            = "AES256"          # {AES128 | AES192 | AES256 | DES | DES3 | GCMAES128 | GCMAES192 | GCMAES256 | None}
            ipsec_integrity             = "SHA256"          # {GCMAES128 | GCMAES192 | GCMAES256 | MD5 | SHA1 | SHA256}
            ike_encryption              = "AES256"          # {AES128 | AES192 | AES256 | DES | DES3 | GCMAES128 | GCMAES256}
            ike_integrity               = "SHA384"          # {GCMAES128 | GCMAES256 | MD5 | SHA1 | SHA256 | SHA384}
            dh_group                    = "DHGroup14"       # {DHGroup1 | DHGroup14 | DHGroup2 | DHGroup2048 | DHGroup24 | ECP256 | ECP384 | None}
            pfs_group                   = "PFS14"           # {ECP256 | ECP384 | None | PFS1 | PFS14 | PFS2 | PFS2048 | PFS24 | PFSMM}
        }
    }
}

References

@tombuildsstuff
Copy link
Contributor

hi @mybayern1974

Thanks for opening this issue.

Support for this is available in the azurerm_virtual_network_gateway resource which I believe should be what you're looking for - would you be able to confirm if this works for you?

I'm going to close this issue for the moment but please let us know if that doesn't work for you and we'll take another look.

Thanks!

@mybayern1974
Copy link
Collaborator Author

hi @tombuildsstuff , this requested resource is not the same as azurerm_virtual_network_gateway resource you suggested here, instead, it is the sub-resource of the resource azurerm_virtual_wan, whose current status is lack of some sub-resources. So it's fine to close this issue but I suggest setup the link between this issue and the issue #3279

@ghost
Copy link

ghost commented Sep 26, 2019

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks!

@ghost ghost locked and limited conversation to collaborators Sep 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants