2023-11-12 16:50:05 -08:00
|
|
|
|
|
|
|
output "instance_id" {
|
|
|
|
value = aws_instance.social.id
|
|
|
|
}
|
|
|
|
output "public_ip" {
|
2024-01-31 06:35:32 -08:00
|
|
|
value = aws_eip.social.public_ip
|
2023-11-12 16:50:05 -08:00
|
|
|
}
|
|
|
|
output "nameservers" {
|
2024-01-18 18:14:17 -08:00
|
|
|
#value = length(module.zone) == 0 ? "" : module.zone.0.route53_zone_name_servers
|
|
|
|
value = module.zone.route53_zone_name_servers
|
|
|
|
}
|
|
|
|
output "s3_bucket_name" {
|
|
|
|
value = module.s3_bucket.s3_bucket_id
|
2023-11-12 16:50:05 -08:00
|
|
|
}
|
2024-01-20 14:57:08 -08:00
|
|
|
output "my_ip" {
|
2024-01-22 19:27:29 -08:00
|
|
|
value = "${chomp(data.http.myip.response_body)}"
|
2024-01-20 14:38:00 -08:00
|
|
|
}
|
2023-11-12 16:50:05 -08:00
|
|
|
|
2024-01-18 18:14:17 -08:00
|
|
|
#output "aws_route53_zone" {
|
|
|
|
# value = local.route53_zone
|
|
|
|
#}
|
|
|
|
|
|
|
|
output "aws_route53_nameservers" {
|
|
|
|
value = module.zone.route53_zone_name_servers
|
|
|
|
}
|
|
|
|
|