Data Source: aws_rds_orderable_db_instance

Information about RDS orderable DB instances and valid parameter combinations.

Example Usage

data "aws_rds_orderable_db_instance" "test" {
  engine         = "mysql"
  engine_version = "5.7.22"
  license_model  = "general-public-license"
  storage_type   = "standard"

  preferred_instance_classes = ["db.r6.xlarge", "db.m4.large", "db.t3.small"]
}

Valid parameter combinations can also be found with preferred_engine_versions and/or preferred_instance_classes.

data "aws_rds_orderable_db_instance" "test" {
  engine        = "mysql"
  license_model = "general-public-license"

  preferred_engine_versions  = ["5.6.35", "5.6.41", "5.6.44"]
  preferred_instance_classes = ["db.t2.small", "db.t3.medium", "db.t3.large"]
}

Argument Reference

This data source supports the following arguments:

Attribute Reference

This data source exports the following attributes in addition to the arguments above: