Yes. You need to obtain an e-Visa if your nationality requires a visa to travel to Thailand. In simple terms, it depends on your nationality or the passport you hold.
For instance, Indian nationals with a Green Card will still need to apply for an e-Visa to visit Thailand, while South Africans with a Green Card may enter Thailand without an e-Visa, due to a 30-day visa exemption.