A. Access Key and Secret Key. ( with required permissions) B. Terraform should be installed.
- Clone the repository.
- Move to the sentry-ecs-fargate-assessment-2 directory.
- initalize the terraform to download modules. # terraform init
- Modifiy the variables as per your naming and values in variables.tf file.
- To build the stack run below terraform command. #terraform workspace new assessment2 #terraform workspace select assessment2
- Now you can provision the resourecs using terraform. #terraform plan #terraform apply
The above commands creates the stack and deployment it bring the site up.
7 . To destroy the stack which we created use below command. #terraform destroy