Skip to content

colinbut/terraform-aws-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Terraform AWS Example

Infrastructure as Code.

  1. Initialize Terraform's "backend"
  2. Downloads the required Terraform plugin for working with the 'Infrastructure Provider'
terraform init

Code up the infrastructure in a "Terraform Configuration" file (format in yml - YAML).

Then apply the changes:

terraform apply -var 'access_key=[YOUR AWS ACCESS KEY]' -var 'secret_key=[YOUR AWS SECRET KEY]'

Run an "Execution Plan" to check the changes to be applied before actually running the apply. Allows you to obtain useful information about the changes you are about to make.

terraform plan -var 'access_key=[YOUR AWS ACCESS KEY]' -var 'secret_key=[YOUR AWS SECRET KEY]'

Other useful commands:

terraform graph
terraform show

Releases

No releases published

Packages

No packages published

Languages