Skip to content

cloudxabide/aws-terraform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AWS Terraform

I don't use TF often enough - tracking some notes here:
This is an absolutely basic, uncomplicated get something created quickly setup

Git Config

You probably want to exclude/ignore some files if you plan on using Git and Terraform
I don't think it's a great idea to run Terraform from within your git repo anyhow...

Here are a few things you likely (at a minimum) should have:

$ cat ~/.gitignore_global
.DS_Store
terraform.tfstate
terraform.tfstate.backup

How to use this

Copy the Terraform directory to a working location

mkdir $HOME/Working/
cp -R Terraform $HOME/Working/
cd $HOME/Working/Terraform
vi variables.tf
terraform init
terraform plan
terraform apply

Once it is complete, you should have a publicly accessible EC2 instance (VPC, Subnet, InternetGateway)

About

Basic Terraform for AWS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages