---
# System prepended metadata

title: Shift Left IaC

---

# Shift Left IaC

### Installation von Terraform

**Linux**
```
wget -O- https://apt.releases.hashicorp.com/gpg | gpg --dearmor | sudo tee /usr/share/keyrings/hashicorp-archive-keyring.gpg
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
sudo apt update && sudo apt install terraform
```

**MacOS**
```
brew tap hashicorp/tap
brew install hashicorp/tap/terraform
```

### Installation von checkov

**Linux**
```
pip3 install checkov
```


**MacOS**
```
brew install checkov
```

### Download Terraform Projekt

```
git clone https://github.com/nccgroup/sadcloud.git
```

### Scannen mit checkov

**Linux und MacOs**

```
checkov -d sadcloud/
```