How to execute properly local-exec? #7611
Unanswered
NedkoHristov
asked this question in
Q&A
Replies: 4 comments 1 reply
-
Nope! Coder runs local-exec inside the same environment as the server is running. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks for the quick reply, @kylecarbs. Then I don't have any idea how when on a local-exec run ls on
My implementation is very simple:
Inside a |
Beta Was this translation helpful? Give feedback.
0 replies
-
Are you running Coder in a Docker container? From the .dockerenv I'm assuming so. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I'm running coder in a Docker container, yes. I probably need to create a volume so I can execute my script separately. If yes - how? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So! Something quite interesting here. Does coder run the TF plans on a docker? It took me some time to realize why
local-exec
does not run my local bash script 😆Is there a way to execute local-exec on the instance I'm running coder?
Beta Was this translation helpful? Give feedback.
All reactions