Hi!
We are currently trying to fast-register workflows using
flytectl==0.5.21
. The workflows were serialized using
pyflyte
(from `flytekit=1.0.0`; using
fast
). The storage configuration looks like this:
...
storage:
type: stow
stow:
kind: google
config:
project_id: "<project>"
scopes: <https://www.googleapis.com/auth/devstorage.read_write>
container: "<bucket>"
Now, when running
flytectl register files tmp/workflows/* -p acorn -d development
, we see:
Error: failed to upload source code from [tmp/workflows/fasta438eafa1aa98e76043e131e481a7a23.tar.gz]. Error: failed to create an upload location. Error: rpc error: code = Unknown desc = failed to create a signed url. Error: storage: missing required GoogleAccessID
{"json":{},"level":"error","msg":"failed to upload source code from [tmp/workflows/fasta438eafa1aa98e76043e131e481a7a23.tar.gz]. Error: failed to create an upload location. Error: rpc error: code = Unknown desc = failed to create a signed url. Error: storage: missing required GoogleAccessID","ts":"2022-04-27T13:37:26+02:00"}
GOOGLE_APPLICATION_CREDENTIALS
env is set to a service account which has access to the bucket. Registering against flyteadmin in version 1.0.0