I tried uploading a file as so:
[[files]]
guest_path = "/path/to/hello.txt"
raw_value = "foo"
According to the docs,
The contents of both raw_value
and secret_name
must be base64 encoded.
But when I tried this, the raw value was uploaded without base64 decoding.
Posting here since I’m not sure if it’s a bug in the docs, or maybe at some point in the past there was base64 decoding of raw_value
s but no longer?
So you’ve tried setting raw_value = "Zm9vCg=="
and it wasn’t decoded to foo
in /path/to/hello.txt
?
Exactly.
Just tested again:
$ tail -n 3 fly.staging.sftp.toml
[[files]]
guest_path = "/tmp/hello.txt"
raw_value = "Zm9vCg=="
$ fly deploy -c fly.staging.sftp.toml
$ fly ssh console -a appname --pty -C "cat /tmp/hello.txt"
Zm9vCg==
Ok, thanks for the report as it is definitely a regression.
1 Like
system
Closed
5
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.