Setting Up Your Environment
We have prepared a Docker image with all necessary dependencies and utilities. You can use it to run exams or labs by following the instructions below or follow the video guide.
Run the Docker Container
sudo docker run -it viktoruj/runner
Clone the Git Repository
git clone https://github.com/smadi0x86/SRE-Platform
cd SRE-Platform
Update S3 Bucket
By now, you should have created an S3 bucket for the Terraform backend. If you haven't, please refer to the AWS documentation to create one.
Make sure to enable bucket versioning when creating the S3 bucket.
Edit the `terragrunt.hcl` file to update your S3 bucket name
vim terraform/environments/terragrunt.hcl
locals {
region = "eu-north-1"
backend_region = "eu-north-1"
backend_bucket = "example-bucket" # update with your own bucket name
backend_dynamodb_table = "${local.backend_bucket}-lock"
}
Set the AWS Key
export AWS_ACCESS_KEY_ID=<Your-Access-Key>
export AWS_SECRET_ACCESS_KEY=<Your-Secret-Access-Key>
Last updated