description = "Public IP of the host's Elastic IP — the address DNS records point at."
3
value = aws_eip.host.public_ip
4
}
5
6
output "instance_id" {
7
description = "EC2 instance id of the host."
8
value = aws_instance.host.id
9
}
10
11
output "security_group_id" {
12
description = "Security group id of the host — useful for sibling services that admit traffic from the fleet only."
13
value = aws_security_group.host.id
14
}
15
16
output "role_arn" {
17
description = "ARN of the host IAM role."
18
value = aws_iam_role.host.arn
19
}
20
21
output "role_name" {
22
description = "Name of the host IAM role."
23
value = aws_iam_role.host.name
24
}
25
26
output "ami_id" {
27
description = "Resolved AMI id (most recent matching image) — reusable by sibling boxes in the same root."
28
value = data.aws_ami.debian_arm64.id
29
}
30
31
output "store_user_boundary_arn" {
32
description = "ARN of the permissions boundary store users are created under. Set it as CARLOS_STORE_USER_BOUNDARY on the console, which refuses to boot with a storage backend and no boundary. Null when store_bucket_prefix is empty."
33
value = var.store_bucket_prefix == "" ? null : aws_iam_policy.store_user_boundary[0].arn
34
}
35
36
output "vpc_cidr" {
37
description = "CIDR of the VPC the host lives in — the value for CARLOS_RELAY_DENY_CIDRS on a box that runs the relay."
38
value = data.aws_vpc.host.cidr_block
39
}
40
41
output "termination_queue_url" {
42
description = "The queue that receives this region's EC2 terminated events."