When creating an RDS by specifying an incorrect value for the "ParameterGroupFamily" parameter, a similar error may occur:
Error creating DB Parameter Group: InvalidParameterValue: ParameterGroupFamily default.mariadb10.2 is not a valid parameter group family
To see a list of all possible values for the "ParameterGroupFamily" parameter, you can use the following command:
aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily"