Overwriting environment variable shouldn't show an error

The following command:
$ fly secrets set MY_VAR=my_value
when the value is the same as the current one, prints the following error:
Error No change detected to secrets

In my opinion it shouldn’t generate an error, because it is a common scenario when building using idempotent scripts or CI/CD.

That sounds reasonable. fly deploy will also exit with non-zero status when no changes have been applied. Does this affect your setup?

1 Like

No, it doesn’t affect my setup, it’s not urgent.

1 Like