Skip to content

RichardHarperInfinityWorks/100-training-terraform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

101 Terraform

The repos is designed to be used alongside the Infinity Works 100 Training for Terraform Meetup.com

Pre-requisits

An AWS account & CLI

As we will be using Terraform in conjunction with AWS you will also need to to create an AWS account and install the Command Line Interface tool (CLI). Instructions are below:

We will be using the eu-west-2 region if asked in the above process.

Managing AWS credentails locally

Your AWS account if new will most likely be locked down just to yourself to access you should have a programatical access set of credentails (Go create some in AWS IAM) These can be added to your environment by following this guide: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html

If you have these you wont need at add additional environment variables, howere if you donnt't have these setup you can mannually set the env for the session with:

export AWS_ACCESS_KEY_ID="anaccesskey"
export AWS_SECRET_ACCESS_KEY="asecretkey"
export AWS_DEFAULT_REGION="eu-west-1"

An IDE

It would also be a good idea to have an (Integrated Development Environment) IDE installed, VS Code is a free feature rich IDE and can be downloaded/installed from: https://code.visualstudio.com/

We can help in the session with the above, but doing before will save you time.

Usage

Initalise the Teraform providers etc

terraform init

Plan what will be changed

terraform plan

Apply the changes to the infrastructure

terraform apply

Destroy the infrastructure

terraform destroy

About

To be used with the 100 IW training for Terraform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages