Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Terraform

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.

Useful Commands

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

Reference Documentation