CSYE 6225 Assignments Karan Wadhwa NUID: 002663034
-
Install aws-cli and configure credentials
-
Initialize terraform
$ terraform init
- Create
.tfvars
file from.example.tfvars
template - Plan your cloud infrastructure
$ terraform plan -var-file <filename>.tfvars -var "profile=<aws-profile-name>"
- Create your cloud infrastructure
$ terraform apply -var-file <filename>.tfvars -var "profile=<aws-profile-name>"
- Destroy your cloud infrastructure
$ terraform apply -var-file <filename>.tfvars -var "profile=<aws-profile-name>"
- Import SSL certificate to AWS Certificate Manager
$ aws acm import-certificate --certificate fileb://Certificate.crt \
--certificate-chain fileb://certificate_bundle.crt \
--private-key fileb://private.key