Task 2 - Run the Terraform Deployment

Perform the following step in your Cloudshell console to create your environment.

  1. Clone the Github repo https://github.com/FortinetCloudCSE/fortigate-automation-stitch-workshop
  2. Change directory to the fortigate-automation-stitch-workshop/terraform/azure folder
  3. Run terraform init
  4. Run terraform plan -var="username=$env:USER"
  5. Run terraform apply -var="username=$env:USER"

Copy and paste these commands into your Cloud Shell console. The terraform variable username will be populated with the value of the environment variable USER

git clone https://github.com/FortinetCloudCSE/fortigate-automation-stitch-workshop
cd ./fortigate-automation-stitch-workshop/terraform/azure
terraform init
terraform plan -var="username=$env:USER"
terraform apply -var="username=$env:USER" -auto-approve

terraform1 terraform1 terraform2 terraform2 terraform3 terraform3