26 lines
566 B
HCL
26 lines
566 B
HCL
|
|
output "instance_id" {
|
|
value = aws_instance.social.id
|
|
}
|
|
output "public_ip" {
|
|
value = aws_instance.social.public_ip
|
|
}
|
|
output "nameservers" {
|
|
#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
|
|
}
|
|
output "my_ip" {
|
|
value = "${chomp(data.http.myip.response_body)}"
|
|
}
|
|
|
|
#output "aws_route53_zone" {
|
|
# value = local.route53_zone
|
|
#}
|
|
|
|
output "aws_route53_nameservers" {
|
|
value = module.zone.route53_zone_name_servers
|
|
}
|
|
|