aboutsummaryrefslogblamecommitdiff
blob: d0d90fad1a546bc9bf5d548c09ef146ded00aaf6 (plain) (tree)




























                                                   
output "rds_hostname" {
  description = "RDS instance hostname"
  value       = aws_db_instance.mastodon.address
}

output "rds_port" {
  description = "RDS instance port"
  value       = aws_db_instance.mastodon.port
}

output "rds_username" {
  description = "RDS instance username"
  value       = aws_db_instance.mastodon.username
}

output "rds_password" {
  description = "RDS instance password"
  value       = random_password.rds_password.result
  sensitive   = true
}

output "instance" {
  description = "The main EC2 instance."
  value = {
    arn        = aws_instance.mastodon.arn
    public_ip  = aws_eip.mastodon.public_ip
    private_ip = aws_instance.mastodon.private_ip
  }
}
Powered by cgit v1.2.3 (git 2.41.0)