- AWS CLI
- Terraform
- Approved SSL Certificate in Your AWS Certificate Manager (AWS CLI import command listed below, all files must be in pem format)
$ aws acm import-certificate --certificate fileb://{your certificate} \
--certificate-chain fileb://{your certificate chain} \
--private-key fileb://{your private key}- Clone this repository.
$ git clone {repo link}- Set up the variables.tf file and configure the AWS credentials with AWS CLI.
$ aws configure --profile {your profile}- Initialize the working directory.
$ terraform init- Plan the execution.
$ terraform plan- Apply the resources to AWS cloud.
$ terraform apply -auto-approve- To destroy the Terraform resources.
$ terraform destroy -auto-approve