Go to the AWS console and search for **CloudFormation**. Click on the alphanumeric stack name and then open the **Outputs** tab. You will see the key APIEndpoint, copy the corresponding **Value**. Open the glue file terraform/modules/extract_job/glue.tf, replace the <API_ENDPOINT> placeholders with the API Endpoint value (in two places).
Each time you start the lab, you’ll need to repeat this step since the API endpoint changes.
Please run source scripts/setup.sh the very first thing.
This step defines the environment variables needed for Terraform. If Terraform ever prompts you to enter the values for these variables, it means they are not set up.
Running source scripts/setup.sh defines these variables.