Requirements: migrate_plus, migrate_tools, migrate_source_csv
- Create content type via config sync using node.type.country.yml
- Upload csv to private files. I created a content type called private files to do this but there are other ways.
- Import migration via config sync using country_migration.yml
- Run
drush migrate-import country_csv
- You should receive the following response
Processed 245 items (245 created, 0 updated, 0 failed, 0 ignored) - [status]
done with 'country_csv'
You should not have 245 country items with all the included fields.
Note: I also created a migration group called csv_imports but this import does not appear under that list. Perhaps as the modules stabilize this will work as expected.