We will deploying all these configurations to AWS Cloud by Terraform:
1. Go to your project folder and run terraform init
terraform init
Run terraform init
first in any new Terraform configuration directory. It must be executed after you add or modify providers or modules.
2. Preview the changes before applying configurations by terraform plan
command:
terraform plan
3. Apply the changes before applying configurations by terraform apply
command. Continue to enter yes
to confirm:
terraform apply
Please wait a few minutes to Terraform applying before validating connection.