-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Client VPN Endpoint - Add Optional Self-Service Portal Arguments #16019
Comments
I've started a PR which allows specifying the self service portal and saml provider options like so:
This differs from the original request, which asked for I have not run acceptance tests, however I have tried to write them. I would love some feedback on what else would need to be done to achieve this and if someone could confirm the acceptance tests work then that would be awesome. |
This is really necessary for IDP providers that do not support multiple ACS URLs: https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/client-authentication.html#saml-self-service-support |
We also need a way to set not just the description but also the endpoint "Name", so it would be awesome to have a name attribute |
Hi @ariellev, I believe you can already set the name by using a tag with the key "Name", though I have not verified this myself. |
As a meager workaround, I was able to have this in my Terraform graph/state and still set the self-service portal provider by manually creating the CVPN endpoint and then importing the CVPN resource into Terraform state. The provider appears to ignore the self-service portal provider ARN argument/attribute. This means that as long as Terraform doesn't compute some change to the CVPN resource (which might remove the self-service provider ARN when the change is applied), I can still depend on the CVPN by reference in other resources without breaking self-service. |
This functionality has been released in v3.59.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
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. |
Community Note
Description
This request asks for the ability to add the optional Self-service SAML provider ARN within the authentication option for a Client VPN (CVPN) endpoint using Federated authentication as well as the option to enable the self-service portal.
Based on the release by AWS today (11/4/20), Client VPN now supports a self-service portal to download VPN profiles and desktop applications.
New or Affected Resource(s)
self_service_portal authentication_options { self_service_saml_provider_arn }
Potential Terraform Configuration
References
The text was updated successfully, but these errors were encountered: