mirror of
https://github.com/praetorian-inc/ChromeAlone
synced 2026-06-06 16:34:31 +00:00
6ce1e947b2
- Changed .NET projects to target net472 so there's no need for runtime installs. - Updated the build.sh script to handle deploying to targeted AWS regions by specifying the --region flag - Removed hardcoded AMIs from the terrafrom deploy process - Fixed some issues that come up when running the script from ARM architecture machines.
20 lines
832 B
Terraform
20 lines
832 B
Terraform
output "relay_public_ip" {
|
|
description = "Public IP of the relay server"
|
|
value = var.existing_eip_allocation_id != "" ? data.aws_eip.existing[0].public_ip : aws_eip.relay_ip[0].public_ip
|
|
}
|
|
|
|
output "relay_websocket_url" {
|
|
description = "WebSocket URL for agent connections"
|
|
value = var.domain_name != "" ? "wss://${var.domain_name}:443" : "ws://${var.existing_eip_allocation_id != "" ? data.aws_eip.existing[0].public_ip : aws_eip.relay_ip[0].public_ip}:8080"
|
|
sensitive = true
|
|
}
|
|
|
|
output "socks_proxy_address" {
|
|
description = "SOCKS proxy address"
|
|
value = "${var.existing_eip_allocation_id != "" ? data.aws_eip.existing[0].public_ip : aws_eip.relay_ip[0].public_ip}:1080"
|
|
}
|
|
|
|
output "relay_instance_id" {
|
|
description = "Instance ID of the relay server"
|
|
value = aws_instance.relay_server.id
|
|
} |