Passing secret variable to Terraform/openTofu task not working #2287
Replies: 3 comments
-
I'm having the same issue, I believe its a bug |
Beta Was this translation helpful? Give feedback.
-
I got a problem with this too. |
Beta Was this translation helpful? Give feedback.
-
Have a similar issue here. I have an environment configured with AWS credentials. When running the Tofu module, it complains about missing credentials. However, when I create a Bash script and run that to print the whole ENV, everything shows up as expected. I even called the tofu executable from my Bash script and it ran as expected. Edit: Updating to v2.10.35 (was on .30) fixed the issue. |
Beta Was this translation helpful? Give feedback.
-
I set the following survey variable as a secret.
And declared it like this in my terraform code.
Still, I get this error. With pure string variables (like hostname) it works fine. But as soon as I define it as a secret in either Semaphore or my TF code (or both), I get this error.
Am I doing something wrong or is this a bug?
Beta Was this translation helpful? Give feedback.
All reactions