Skip to main content

A Pulumi package for creating and managing DataRobot resources.

Project description

DataRobot Resource Provider

The DataRobot Resource Provider lets you manage DataRobot resources. The provider is built on terraform-provider-datarobot. To use this package, please install the Pulumi CLI first.

Installing

This package is available for several languages/platforms:

Python

To use from Python, install using pip:

pip install pulumi_datarobot

Javascript/Typescript

To use from JavaScript or TypeScript in Node.js, install using either npm:

npm install @datarobot/pulumi-datarobot

or yarn:

yarn add @datarobot/pulumi-datarobot

Go

go get github.com/datarobot-community/pulumi-datarobot/sdk/go/...

.NET

To use from .NET, install using dotnet add package:

dotnet add package DataRobotPulumi.Datarobot

YAML

No install necessary, just run pulumi up.

Configuration

The following configuration points are available for the DataRobot provider:

  • datarobot:apikey (environment: DATAROBOT_API_TOKEN) - the API key for DataRobot
  • datarobot:endpoint (environment: DATAROBOT_ENDPOINT) - the endpoint for DataRobot

Examples

See datarobot-pulumi examples

Air-Gapped Environments

Keep the following items in mind if running in an air-gapped environment:

  • Run pulumi login --local to store state files on your local filesystem, instead of the default Pulumi Cloud. Pulumi binaries are available here.

  • Set DATAROBOT_ENDPOINT: https://{datarobot.example.com}/api/v2 (replacing {datarobot.example.com} with your specific deployment endpoint)

  • For Python, the pulumi and pulumi-datarobot packages must be installed in the air-gapped system.

    Example using pip wheel:

    1. create a directory where you want to store package wheels.
    mkdir folder_containing_wheel
    
    1. Now install wheels of the python library you want to install
    pip wheel pulumi-datarobot -w folder_containing_wheel
    

    This will store all your required dependent wheels of the pulumi-datarobot package in the folder. you can check it with doing ls -ltr`.

    1. Now, you can make a tar file of this folder.
    tar cf folder_containing_wheel.tar folder_containing_wheel/
    

    and you can transfer it to your air-gapped system.

    Now untar the folder.

    tar xf folder_containing_wheel.tar
    cd folder_containing_wheel/
    

    now install wheels from the folder.

    pip install * -f ./ --no-index
    

You will also need to download the binary plugin from this repository. Click on the version that matches the Python package version from our Releases page, download the tar.gz for the correct architecture of your computer. For Codespaces, that is *-linux-amd64.tar.gz. After you've extracted it install it with:

pulumi plugin install resource datarobot <version> -f <path-to-extracted-folder>

Rate limited by GitHub?

[!IMPORTANT] GitHub has hard limits on API calls that cannot be changed. If you are running into this when running deployment tasks you have a couple of options. You can wait until the rate limit expires or you can do a direct download from the releases page which will not use the API and hit the limit.

To directly download the plugin and bypass the GitHub API run:

pulumi plugin install resource datarobot <version> --server https://github.com/datarobot-community/pulumi-datarobot/releases/download/<version>/

For example, to download version 0.10.14, you can run:

pulumi plugin install resource datarobot v0.10.14 --server https://github.com/datarobot-community/pulumi-datarobot/releases/download/v0.10.14/

prior to running the deploy to directly install the plugin.

After you have it downloaded, it will still attempt to query for updates via the GitHub API that can trigger rate limits. To bypass that, set the environment variable: PULUMI_SKIP_UPDATE_CHECK

export PULUMI_SKIP_UPDATE_CHECK=1
# OR
export PULUMI_SKIP_UPDATE_CHECK=true

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pulumi_datarobot-0.10.17.tar.gz (119.0 kB view details)

Uploaded Source

File details

Details for the file pulumi_datarobot-0.10.17.tar.gz.

File metadata

  • Download URL: pulumi_datarobot-0.10.17.tar.gz
  • Upload date:
  • Size: 119.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pulumi_datarobot-0.10.17.tar.gz
Algorithm Hash digest
SHA256 13da857ae0dafbc7de69d45c1c56528f87eda0fb8654c5bf5a001c5af5f6c6d6
MD5 c522c8f749cb5ea9314ac94469548fc0
BLAKE2b-256 70682a68e236d028bfd1c3b6fca47df270c5e7d8cc6a1c22b717d8bc7e4f5bb0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page