Replies: 1 comment
-
some logging would be helpful to figure out where it is getting stuck, I would try setting MISE_TRACE=1 but that may produce too much garbage to be useful. There is also a way to log to a file but I forget the syntax off-hand, if you can't find that in the docs I'll see if I can get you some instructions. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a situation where I conditionally need a Terraform provider. But, the provider always checks for it's env vars and raises an error if not found, even when it will not be used. Some people using Terraform may not have the authorization to use that provider but should still be able to use terraform.
The provider can be silenced by providing placeholder credentials:
I use a different tool that can read secrets from 1Pass to set those environment variables when I really need them:
env-config tailscale
My goal is to set the placeholders by default for anyone working on the project so that terraform "just works." But also be able to set them for real when Tailscale tokens are actually needed by terraform.
I assumed this would work in my
mise.toml
:And I've config
env-config tailscale
to set the underscore versions:What I've observed with this setup:
env-config tailscale
it takes about a minute for mise to show the env vars to the new values instead of the placeholders.seem to evernotice for about 10 mins. It continues to show the values set by env-config.mise cache clear
does not affect either of the aboveI'm using mise's integration with the Fish shell in case that matters.
Thought about filing an issue but figured I'd ask first to make sure this is not expected behavior for some reason.
Edit: might actually be something other than time triggering the change but I'm not sure what. It seems I can trigger an update by changing directories but I think I've seen it change previously without doing that.
Beta Was this translation helpful? Give feedback.
All reactions