I have encountered a problem with changing an existing data source which is JDBC to JNDI. It appears that there is no real way to overwriting it (for some reason) as import --update will not work becuase the objects contain a different type. I get the following when running the update.
00:01:26.887 Resource "/organizations/organization_1/finance/data_sources/mydatasource" <u><strong>already exists in the repository and has a different type than in the catalog, not updating</strong></u>
The only way I have been able to get around this is to export the existing data with permissions, recreate, and import. This is not an ideal method and was looking for others who had gone through this exercise.