12345678910111213141516171819202122232425262728293031323334 |
- # If we work with zScalar, and they exclude something, this warning may need to be put back
- #output "WARNING" {
- # value = "WARNING: Recreating the endpoint may require intervention from the zScalar team. (Not yet known for sure)"
- #}
- # For finding out what's really available:
- #output "endpoint_details" {
- # value = aws_ec2_client_vpn_endpoint.vpn
- #}
- output "dns_name" {
- value = aws_ec2_client_vpn_endpoint.vpn.dns_name
- }
- output "vpn_id" {
- value = aws_ec2_client_vpn_endpoint.vpn.id
- }
- output "self_service_url" {
- value = "https://gov.self-service.clientvpn.amazonaws.com/endpoints/${ aws_ec2_client_vpn_endpoint.vpn.id }"
- }
- output "lambda_function_arn" {
- #value = module.lambda_function.lambda_function_arn
- value = aws_lambda_function.lambda_connection_authorization.arn
- }
- output "lambda_function_reminder" {
- value = "REMINDER: You must configure the lambda connection handler in the AWS console. VPC->Client VPN Endpoints->Modify, under 'Client Connect Handler'"
- }
- output "session_timeout_reminder" {
- value = "REMINDER: You must set the 'Session timeout hours' to 12 thorugh teh AWS console. VPC->Client VPN Endpoints->Modify. This can be done in code in Terraform AWS Provider v4.0"
- }
|