Deploying Code

Overview:

The following is set of instructions on how to setup the code to deploy the infrastructure.

1. Open A Terminal in VSCode

Use the following keyboard shortcut Ctrl+Shift+`

2. Login with Azure Admin created in the last section

az login 

3. Open a Terminal and run TFState_Build.PS1

CTRL+Shift+`
PS C:\Users\cthfm\\code\mini_sec_l> .\tfstate_build.ps1  

The file will create a backend state file and ensure that you have all the Azure Service modules to complete the task.

4. Initialize Terraform and run Terraform Plan

terraform init
terraform plan

This will prompt you for the region that you want to the resources to be deployed in as well as the external IP address. This can be found here: https://whatismyipaddress.com/

5. Terraform Acknowledge

Last updated