Learning how to create infrastructure as code in Jenkins
Created a connection to aws in the connections.tf file and a VPC in the resources file.
1 terraform plan # plan
2 terraform apply # shortcut for plan & apply - avoid this in production
3 terraform plan -out out.terraform # terraform plan and write the plan to out file
4 terraform apply out.terraform # apply terraform plan using out file
5 terraform show # show current state