1. Packages
  2. Azure Native v2
  3. How-to Guides
  4. Azure Synapse Workspace and Pools
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

Azure Synapse Workspace and Pools

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

View Code Deploy this example with Pulumi

Starting point for enterprise analytics solutions based on Azure Synapse.

Running the App

  1. Create a new stack:

    $ pulumi stack init dev
    
    Copy
  2. Create a Python virtualenv, activate it, and install dependencies:

    This installs the dependent packages needed for our Pulumi program.

    $ python3 -m venv venv
    $ source venv/bin/activate
    $ pip3 install -r requirements.txt
    
    Copy
  3. Login to Azure CLI (you will be prompted to do this during deployment if you forget this step):

    $ az login
    
    Copy
  4. Set the Azure region location to use:

    $ pulumi config set azure-native:location westus2
    
  5. Set the user ID to grant access to (e.g., your current user):

    $ pulumi config set userObjectId $(az ad signed-in-user show --query=objectId | tr -d '"')
    
  6. Run pulumi up to preview and deploy changes:

    $ pulumi up
    Previewing changes:
    ...
    
    Performing changes:
    ...
    Resources:
        + 13 created
    
    Duration: 10m53s
    
    Copy
  7. Navigate to https://web.azuresynapse.net and sign in to your new workspace.

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi