Need help install latest version of terraform into Azure

hello all, please note i am a super beginner for the cloud ops field, and i am trying to create Azure resource group using terraform.
for that i need to install latest version of terraform using cloud shell.
i have tried below , and its requesting a password, but i am not sure which one i should give .

wget -O- | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg

echo “deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] $(lsb_release -cs) main” | sudo tee /etc/apt/sources.list.d/hashicorp.list

sudo apt update && sudo apt install terraform

Hi @rperera19,

Unfortunately I don’t know any reason why any of the commands you listed should prompt for a password. All of the commands that are accessing services over the network are accessing publicly-available resources that don’t require authentication.

Can you narrow this down to just one of these many commands that’s causing a password prompt? It would help if you could show your full shell session – both the commands you ran and their output – up until you saw the password prompt.