Terraform is a tool for building, changing, and versioning infrastructure safely and efficiently. Terraform can manage existing and popular service providers as well as custom in-house solutions. Configuration files in this directory creates to setup ec2 instances, lambda function, cloudwatch event, s3, dynamodb, and route53(DNS) on Amazon Web Service as a provider.
- Should have AWS secret key and access key on local machine (home directory)
-
Clone repository to your directory
$ git clone https://github.com/iv1310/Terraform_Aws.git && cd Terraform_Aws
-
After placing it into your work directory, run
$ terraform init
to initialize it. -
Then, run
$ terraform plan
used to create an execution plan. -
And then, run
$ terraform apply
-
You can inspect the current state using
$ terraform show