Jump to content

Terraform installation


a_sagittarian

Recommended Posts

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

Link to comment
Share on other sites

 

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...