This is the Terraform project to interact with aws account and create EC2 instance to deploy the application.
Install latest version of terraform before executing this project.
Pre-requisites-
- Need to have AWS account
- Generate access and secret key
- install aws_vault to store secrets
Executing the project-
-
Initialize the terraform reources
terraform init
-
Verify the terraform execution plan.
terraform plan
-
To apply the changes to reach the desired state of the configuration. Input the personal token when it is asked.
terraform apply