Azure Security
  • 👺Azure Security Project Lab
  • 💻Manage Azure Resource
    • Task 1
    • Task 2
    • Task 3
  • 👮RBAC
  • 🥷NSG & ASG
    • Page 1
    • Page 2
  • 💂‍♂️Perimeter Security
  • 🗼Network Security
  • 🏗️IaaC
    • Installation
  • Azure SAST Rules
    • 🔐Authentication
    • 🐳Docker
    • 👺Code Like Hacker : Secure Terraform Practices
Powered by GitBook
  1. IaaC

Installation

Please refer official documentation for latest changes and installation

PreviousIaaCNextAzure SAST Rules

Last updated 1 year ago

Azure Cli should be installed in local system to use Azure resources via API

sudo apt update && sudo apt install -y gnupg software-properties-common
// Some code
Install HashiCorp GPG key
wget -O- https://apt.releases.hashicorp.com/gpg | \
gpg --dearmor | \
sudo tee /usr/share/keyrings/hashicorp-archive-keyring.gpg
Verify the key's fingerprint.
gpg --no-default-keyring \
--keyring /usr/share/keyrings/hashicorp-archive-keyring.gpg \
--fingerprint
Add the official HashiCorp repository to your system.
echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] \
https://apt.releases.hashicorp.com $(lsb_release -cs) main" | \
sudo tee /etc/apt/sources.list.d/hashicorp.list
Download the package from HashiCorp.
sudo apt update
Install Terraform
sudo apt install terraform
Verify Installation
terraform -help

VS Code Extension Installation

🏗️
Install Terraform | Terraform | HashiCorp DeveloperInstall Terraform | Terraform | HashiCorp Developer
Logo
Installation Verification