Skip to content

d-shimizu/terraform-sample-aws

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Description

This is Terraform Example

Requirement

Usage

  • Setting AWS Access Key & Secret Key
export AWS_ACCESS_KEY_ID=xxxxxxxxxxxxxxxx
export AWS_SECRET_ACCESS_KEY=xxxxxxxxxxxxxxx

or

aws configure
cd ~

mkdir terraform

cd terraform

wget https://releases.hashicorp.com/terraform/0.11.11/terraform_0.11.11_linux_amd64.zip

unzip terraform_0.11.11_linux_amd64.zip

cp -pr terraform /usr/local/bin/

cd ~
  • clone terrafrom-sample
cd ~

git clone https://github.com/daisukeshimizu/terraform-sample.git

cd terraform-sample/development
  • execution
terraform init -var-file=config.tfvars

terraform plan -var-file=config.tfvars

terraform apply -var-file=config.tfvars
  • Delete
terraform destroy

Licence

Author

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages