$ juju deploy etcd --revision 742 --channel stable --resource core=0 --resource etcd=3 --resource snapshot=0
Located charm "etcd" in charm-hub, revision 742
ERROR while adding pending resource info for "core": bad resource metadata: bad info: bad metadata: resource missing filename
It seems to be specific to some charms.
juju deploy juju-qa-test --resource foo-file=3
Located charm "juju-qa-test" in charm-hub, revision 19
Deploying "juju-qa-test" from charm-hub charm "juju-qa-test", revision 19 in channel stable on ubuntu@20.04/stable
I can reproduce it outside of an exported bundle:
$ juju deploy etcd --revision 742 --channel stable --resource core=0 --resource etcd=3 --resource snapshot=0
Located charm "etcd" in charm-hub, revision 742
ERROR while adding pending resource info for "core": bad resource metadata: bad info: bad metadata: resource missing filename
It seems to be specific to some charms.
juju deploy juju-qa-test --resource foo-file=3
Located charm "juju-qa-test" in charm-hub, revision 19
Deploying "juju-qa-test" from charm-hub charm "juju-qa-test", revision 19 in channel stable on ubuntu@20.04/stable