outputs.tf 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. # If we work with zScalar, and they exclude something, this warning may need to be put back
  2. #output "WARNING" {
  3. # value = "WARNING: Recreating the endpoint may require intervention from the zScalar team. (Not yet known for sure)"
  4. #}
  5. # For finding out what's really available:
  6. #output "endpoint_details" {
  7. # value = aws_ec2_client_vpn_endpoint.vpn
  8. #}
  9. output "dns_name" {
  10. value = aws_ec2_client_vpn_endpoint.vpn.dns_name
  11. }
  12. output "vpn_id" {
  13. value = aws_ec2_client_vpn_endpoint.vpn.id
  14. }
  15. output "self_service_url" {
  16. value = "https://gov.self-service.clientvpn.amazonaws.com/endpoints/${ aws_ec2_client_vpn_endpoint.vpn.id }"
  17. }
  18. output "lambda_function_arn" {
  19. #value = module.lambda_function.lambda_function_arn
  20. value = aws_lambda_function.lambda_connection_authorization.arn
  21. }
  22. output "lambda_function_reminder" {
  23. value = "REMINDER: You must configure the lambda connection handler in the AWS console. VPC->Client VPN Endpoints->Modify, under 'Client Connect Handler'"
  24. }
  25. output "session_timeout_reminder" {
  26. 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"
  27. }