Instance
Instance
string
The hostname of the RDS instance. Use this for DNS-based connections.
string
The ARN of the RDS instance.
string
The Availability Zone in which the RDS instance is running.
string
The connection endpoint in
address:port format. Use this value directly in application connection strings.string
The database engine of the RDS instance (e.g.
mysql, postgres).string
The running version of the database engine. This may differ from the requested
engine_version if minor version auto-upgrades are enabled.string
The canonical hosted zone ID of the DB instance. Use this in a Route 53 Alias record to route traffic to the instance.
string
The RDS instance identifier. When
instance_use_identifier_prefix is true, this will be the generated unique identifier.string
The RDS Resource ID of this instance. This is a stable identifier used in CloudWatch metrics and IAM policies.
string
The current status of the RDS instance (e.g.
available, modifying, backing-up).string
The name of the database created on the instance, as specified by
db_name.string
The master username for the database. This output is marked sensitive.
number
The port on which the database instance is accepting connections.
string
The identifier of the CA certificate in use by the DB instance.
string
The order in which the instance is upgraded during a multi-instance upgrade. Possible values:
first, second, last.Authentication
Authentication
Active Directory
Active Directory
string
The ID of the Directory Service Active Directory domain the instance is joined to.
string
The ARN for the Secrets Manager secret with the self-managed Active Directory credentials for the user joining the domain.
list(string)
The IPv4 DNS IP addresses of the primary and secondary self-managed Active Directory domain controllers.
string
The fully qualified domain name (FQDN) of the self-managed Active Directory domain.
string
The name of the IAM role used when making API calls to the Directory Service.
string
The self-managed Active Directory organizational unit the DB instance has joined.
SQL Server
SQL Server
object
The listener connection endpoint for SQL Server Always On. Contains
address, hosted_zone_id, and port attributes. Only populated for SQL Server instances with Always On enabled.Parameter Group
Parameter Group
Monitoring
Monitoring
CloudWatch
CloudWatch
map(object)
A map of CloudWatch log groups created for the DB instance, keyed by log type (e.g.
general, slowquery, postgresql). Each value contains the full aws_cloudwatch_log_group resource attributes. Only populated when create_cloudwatch_log_group is true.Role Association
Role Association
map(object)
A map of DB instance role association resources, keyed by feature name. Each value contains the full
aws_db_instance_role_association resource attributes including id (formatted as db_instance_identifier,role_arn).