Hi Erik,
sorry to hear, I who know how frustrating
broken modules can be.
I guess you've already checked if your
underlying python modules are up-to-date
and tried to put the latest s3 module in
your fileserver's _modules?
Regards, Florian
> <
https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.s3.html>[1]
> and
> > tried a number of simple examples, as well as read other reports
> here
> >
> <
https://groups.google.com/forum/#!searchin/salt-users/s3$20get%7Csort:date/salt-users/_YodxI2THVM/HLSrbT3dyFkJ>
> [2] and
> > other github issues <
https://github.com/saltstack/salt/issues/23007>
> [3],
> > and am admittedly baffled at what I'd assumed would be a
> straightforward
> > workflow. The conclusion I've come to is that the only way to get
> this is
> > to install the aws-cli and download it (this is for an environment
> where
> > less is more.)
> >
> > Something like the example on s3 modules, which I would turn into a
> state
> > looks like:
> >
> > *salt-call --local s3.get eriktestsalt my-test-script.sh
> > return_bin=True local_file=/tmp/my-test-script.sh keyid=[my-keyid]
> > key=[my-secret-key] verify_ssl=False location=us-east-1*
> >
> > only fills the /tmp/my-test-script.sh with "SignatureDoesNotMatch"
> XML
> > output ( AWS v4 signature error ?) I've managed variations that
> produce
> > 404's and 403's and 'Key Not Found' (always written to my intended
> output
> > file - ouch, not a nice thing to do) and read my debug-level logging
> output.
> >
> > Turning this into an *s3.put *or* s3.head* - no such luck either,