mirror of
https://github.com/onyx-dot-app/onyx.git
synced 2026-10-23 11:53:08 -05:00
* feat(infra): AWS IAM Terraform * Fixing dependency issue * Fixing more weird logic * Final cleanup * one change * oops
26 lines
572 B
Terraform
26 lines
572 B
Terraform
output "endpoint" {
|
|
description = "RDS endpoint hostname"
|
|
value = aws_db_instance.this.endpoint
|
|
}
|
|
|
|
output "port" {
|
|
description = "RDS port"
|
|
value = aws_db_instance.this.port
|
|
}
|
|
|
|
output "db_name" {
|
|
description = "Database name"
|
|
value = aws_db_instance.this.db_name
|
|
}
|
|
|
|
output "username" {
|
|
description = "Master username"
|
|
value = aws_db_instance.this.username
|
|
sensitive = true
|
|
}
|
|
|
|
output "dbi_resource_id" {
|
|
description = "DB instance resource ID used for IAM auth resource ARNs"
|
|
value = aws_db_instance.this.resource_id
|
|
}
|