| page_title | duploai_rds_instance Data Source - duploai |
|---|---|
| subcategory | |
| description | Manages a DuploCloud AI Helpdesk standalone AWS RDS instance. |
Manages a DuploCloud AI Helpdesk standalone AWS RDS instance.
# Look up an RDS instance by ID.
data "duploai_rds_instance" "example" {
workspace_id = "<workspace-id>"
id = "<object-id>"
}
output "status" {
value = data.duploai_rds_instance.example.status
}
output "stack_id" {
value = data.duploai_rds_instance.example.stack_id
}id(String) ID of the object to look up.workspace_id(String) ID of the workspace that owns this RDS instance.
allocated_storage(Number) Allocated storage in GiB. Required when creating a new instance (not restoring from a snapshot).auto_minor_version_upgrade(Boolean) Automatically apply minor engine version upgrades.availability_zone(String) Availability zone for a single-AZ instance.backup_retention_period(Number) Number of days automated backups are retained.ca_certificate_identifier(String) CA certificate identifier for the instance.database_insights_mode(String) Database Insights mode (e.g. standard, advanced).db_instance_class(String) Instance class (e.g. db.t3.medium, db.r6g.large).db_name(String) Name of the initial database created in the instance.db_subnet_group_name(String) DB subnet group the instance is placed in.deletion_protection(Boolean) Enable deletion protection on the instance.description(String) Optional description.enable_iam_database_authentication(Boolean) Enable IAM database authentication.enable_performance_insights(Boolean) Enable Performance Insights.endpoint(String) Connection endpoint (DNS address) of the RDS instance.engine(String) Database engine (e.g. postgres, mysql, mariadb, oracle-se2, sqlserver-ex).engine_version(String) Engine version. Changing this in place triggers an engine upgrade.environment_id(String) ID of the environment that owns the resource group.kms_key_id(String) KMS key ID used for storage encryption.master_user_password(String, Sensitive) Master user password.master_username(String) Master (admin) username. Required when creating a new instance (not restoring from a snapshot).multi_az(Boolean) Deploy the instance across multiple availability zones.name(String) Name of the RDS instance.parameters(Attributes List) DB parameter group overrides. (see below for nested schema)port(Number) Port the RDS instance listens on.provisioner_type(String) Provisioner type: Cli, IacNativeTf, IacDuploTf, or DirectApiCall.provisioner_version(String) Optional provisioner version.rds_instance_id(String) ID of this RDS instance, for reference by dependent resources.resource_group_id(String) ID of the resource group (under an environment) this instance belongs to.scope_ids(List of String) Scope IDs that link this instance to a cloud provider account.snapshot_identifier(String) Identifier of a snapshot to restore the instance from.stack_id(String) ID of the underlying provisioning stack.status(String) Current provisioning status.storage_encrypted(String) Storage encryption mode. Accepted values are defined by the backend RdsStorageEncryptionMode enum; confirm the exact value against your tenant.storage_type(String) Storage type (e.g. gp2, gp3, io1).visibility(String) Network visibility of the instance. Accepted values are defined by the backend RdsVisibility enum (e.g. private vs. public); confirm the exact value against your tenant.vpc_security_group_ids(List of String) VPC security group IDs attached to the instance.
Read-Only:
name(String) Parameter name.value(String) Parameter value.