outputs.tf (48 lines of code) (raw):
// aws_rds_cluster
output "this_rds_cluster_id" {
description = "The ID of the cluster"
value = module.db.this_rds_cluster_id
}
output "this_rds_cluster_resource_id" {
description = "The Resource ID of the cluster"
value = module.db.this_rds_cluster_resource_id
}
output "this_rds_cluster_endpoint" {
description = "The cluster endpoint"
value = module.db.this_rds_cluster_endpoint
}
output "this_rds_cluster_reader_endpoint" {
description = "The cluster reader endpoint"
value = module.db.this_rds_cluster_reader_endpoint
}
output "this_rds_cluster_database_name" {
description = "Name for an automatically created database on cluster creation"
value = module.db.this_rds_cluster_database_name
}
output "this_rds_cluster_master_password" {
description = "The master password"
value = module.db.this_rds_cluster_master_password
sensitive = true
}
output "this_rds_cluster_port" {
description = "The port"
value = module.db.this_rds_cluster_port
}
output "this_rds_cluster_master_username" {
description = "The master username"
value = module.db.this_rds_cluster_master_username
}
// aws_rds_cluster_instance
output "this_rds_cluster_instance_endpoints" {
description = "A list of all cluster instance endpoints"
value = module.db.this_rds_cluster_instance_endpoints
}
output "this_rds_cluster_instance_ids" {
description = "A list of all cluster instance ids"
value = module.db.this_rds_cluster_instance_ids
}
// aws_security_group
output "this_security_group_id" {
description = "The security group ID of the cluster"
value = module.db.this_security_group_id
}