Currently we only provide create CLI scripts for resources such as services, queries, charts etc. That results in duplicate resources with different URIs being created with each app install run, and means that resource metadata cannot be updated.
We do have update-document script for documents which updates them using a PUT request. We should use this approach for resources as well, and provide update-* scripts in addition to create-*.
Currently we only provide
create
CLI scripts for resources such as services, queries, charts etc. That results in duplicate resources with different URIs being created with each app install run, and means that resource metadata cannot be updated.We do have
update-document
script for documents which updates them using aPUT
request. We should use this approach for resources as well, and provideupdate-*
scripts in addition tocreate-*
.