-
Notifications
You must be signed in to change notification settings - Fork 3
/
outputs.tf
29 lines (24 loc) · 955 Bytes
/
outputs.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
output "timestamp" {
value = [timestamp()]
description = "Create/Update Timestamp"
}
output "keypairname_bastion" {
value = [aws_instance.aws_ec2_instance_bastion.*.key_name]
description = "Keypair Name for the Bastion Host in the AWS RKE2 cluster"
}
output "instance_ips_bastion" {
value = [aws_instance.aws_ec2_instance_bastion.*.public_ip]
description = "IP for the Bastion Host in the AWS RKE2 cluster"
}
output "instance_ips_control" {
value = [aws_instance.aws_ec2_instance_control.*.private_ip]
description = "IPs for the Control Node in the AWS RKE2 cluster"
}
output "instance_ips_controls" {
value = [aws_instance.aws_ec2_instance_controls.*.private_ip]
description = "IPs for the Control Nodes in the AWS RKE2 cluster"
}
output "instance_ips_worker" {
value = [aws_instance.aws_ec2_instance_worker.*.private_ip]
description = "IPs for the Worker Nodes in the AWS RKE2 cluster"
}