This repository contains Terraform scripts to deploy a complete Azure Synapse Analytics cluster along with candidate accounts. These accounts can be shared with candidates who will connect to the Synapse workspace and use the provided datasets to solve exercises.
Before you begin, ensure you have met the following requirements:
- An Azure subscription
- Terraform installed on your local machine
- Azure CLI installed and configured (Install and configure the Azure CLI)
- Clone this repository to your local machine:
git clone [email protected]:stumpyfr/de_pyspark_test.git
cd de_pyspark_test
- Initialize Terraform:
terraform init
Before deploying the infrastructure, you need to configure the variables. Create a terraform.tfvars
file in the root directory and populate it with your Azure details and Synapse configuration:
env="" # the environment name, used to generate resource names
location="" # the Azure region where the resources will be deployed
owner_uuid="" # your Azure AD object ID
tld="" # your domain name, used to generate candidate email addresses
To deploy the Azure Synapse cluster and candidate accounts, run the following command:
terraform apply
Review the planned changes and confirm the deployment by typing yes
.
Once the deployment is complete, candidate accounts will be created and their credentials will be available in the Terraform output. Candidates can connect to the Synapse workspace using these credentials to access the provided datasets and solve exercises.
- Connect to the Synapse workspace using the provided credentials.
- Explore the available datasets and start working on the exercises (provided separately).
This project is licensed under the MIT License - see the LICENSE file for details.