You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
value = var.ec2_instance_connect ? "https://${var.region}.console.aws.amazon.com/ec2-instance-connect/ssh?connType=standard&instanceId=${aws_instance.minecraft.id}&osUser=ec2-user&sshPort=22" : null
description = "URL to SSH into the server"
}
output "ip" {
value = var.static_ip ? aws_eip.minecraft[0].public_ip : aws_instance.minecraft.public_ip
description = "The IPv4 address assigned to the server"
}
output "logs" {
value = "https://${var.region}.console.aws.amazon.com/cloudwatch/home#logsV2:log-groups/log-group/${aws_cloudwatch_log_group.minecraft.name}/log-events/${aws_instance.minecraft.id}"
description = "URL to the CloudWatch log stream from the server"