In my rds template, the following configurations give this error
Invalid security group , groupId= vaultsecuritygroupinF.groupid, groupName=. (Service: Amazon