a_sagittarian Posted March 17, 2022 Report Share Posted March 17, 2022 Terraform cli install chestunte completions folder creation ki permissions denied vastundi. Chmod ki koda. How to resolver it ? It’s inside a hidden folder. Mac lo ela search cheyali finder lo ? please help. TIA Quote Link to comment Share on other sites More sharing options...
Spartan Posted March 17, 2022 Report Share Posted March 17, 2022 brew to intall cheyi it will yake care Quote Link to comment Share on other sites More sharing options...
a_sagittarian Posted March 17, 2022 Author Report Share Posted March 17, 2022 3 hours ago, Spartan said: brew to intall cheyi it will yake care Tried with brew same error still.. not having permissions to create completions folder Quote Link to comment Share on other sites More sharing options...
Spartan Posted March 17, 2022 Report Share Posted March 17, 2022 1 minute ago, a_sagittarian said: Tried with brew same error still.. not having permissions to create completions folder did u look into this.. https://learn.hashicorp.com/tutorials/terraform/install-cli Quote Link to comment Share on other sites More sharing options...
tennisluvrredux Posted March 17, 2022 Report Share Posted March 17, 2022 3 minutes ago, a_sagittarian said: Tried with brew same error still.. not having permissions to create completions folder Try this https://askubuntu.com/questions/334318/sudoers-file-enable-nopasswd-for-user-all-commands Quote Link to comment Share on other sites More sharing options...
a_sagittarian Posted March 17, 2022 Author Report Share Posted March 17, 2022 Just now, Spartan said: did u look into this.. https://learn.hashicorp.com/tutorials/terraform/install-cli looking now Actually terraform -install-autocomplete run chesinapudu. It’s trying to create a subfolder in a folder called fish. I have that fish folder created sometime in may 2021 Quote Link to comment Share on other sites More sharing options...
tennisluvrredux Posted March 17, 2022 Report Share Posted March 17, 2022 When you use the Terraform provisioner remote-exec to change something in the file /etc/ssh/ssh_config which needs the root permission, the command sudo is interactive that you need to input the password to get the root permission, but the provisioner is not. So you cannot input the password in the provisioner so that it shows you do not have the permission. The Terraform provisioner just likes running a script inside the VM and it does not support the interactive actions as I know. If you want to do the interactive activities with the VM, just use the SSH connection without Terraform. Update Use SSH command to connect into the VM: ssh user@vm_ip Then inside the VM you can execute the command as you want. Quote Link to comment Share on other sites More sharing options...
Spartan Posted March 17, 2022 Report Share Posted March 17, 2022 1 minute ago, a_sagittarian said: looking now Actually terraform -install-autocomplete run chesinapudu. It’s trying to create a subfolder in a folder called fish. I have that fish folder created sometime in may 2021 some folders might have been corrupted or preexisting..so clean up before u restart installation Quote Link to comment Share on other sites More sharing options...
a_sagittarian Posted March 17, 2022 Author Report Share Posted March 17, 2022 1 hour ago, tennisluvrredux said: Try this https://askubuntu.com/questions/334318/sudoers-file-enable-nopasswd-for-user-all-commands 58 minutes ago, Spartan said: some folders might have been corrupted or preexisting..so clean up before u restart installation I did enable root user and installed as root user. It worked. 1 Quote Link to comment Share on other sites More sharing options...
maverick19 Posted March 17, 2022 Report Share Posted March 17, 2022 i just download terraform binary and put it in /usr/local/bin and done. Quote Link to comment Share on other sites More sharing options...
Manatee Posted March 18, 2022 Report Share Posted March 18, 2022 Try to run these tools in a docker container Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.