outputs.tf 880 B

1234567891011121314151617181920212223242526272829
  1. output "WARNING" {
  2. value = "WARNING: Recreating the endpoint may require intervention from the zScalar team. (Not yet known for sure)"
  3. }
  4. # For finding out what's really available:
  5. #output "endpoint_details" {
  6. # value = aws_ec2_client_vpn_endpoint.vpn
  7. #}
  8. output "dns_name" {
  9. value = aws_ec2_client_vpn_endpoint.vpn.dns_name
  10. }
  11. output "vpn_id" {
  12. value = aws_ec2_client_vpn_endpoint.vpn.id
  13. }
  14. output "self_service_url" {
  15. value = "https://gov.self-service.clientvpn.amazonaws.com/endpoints/${ aws_ec2_client_vpn_endpoint.vpn.id }"
  16. }
  17. output "lambda_function_arn" {
  18. #value = module.lambda_function.lambda_function_arn
  19. value = aws_lambda_function.lambda_connection_authorization.arn
  20. }
  21. output "lambda_function_reminder" {
  22. value = "You must configure the lambda connection handler in the AWS console. VPC->Client VPN Endpoints->Modify, under 'Client Connect Handler'"
  23. }