29 lines
642 B
HCL
29 lines
642 B
HCL
|
|
output "instance_id" {
|
|
value = aws_instance.social.id
|
|
}
|
|
output "public_ip" {
|
|
value = aws_eip.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 = aws_s3_bucket.s3_bucket.id
|
|
}
|
|
output "s3_private_bucket_name" {
|
|
value = module.private_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
|
|
}
|
|
|