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:
pulumi-datarobot
- JavaScript/TypeScript:
@datarobot/pulumi-datarobot
- Go:
github.com/datarobot-community/pulumi-datarobot/sdk
- .NET:
DataRobotPulumi.Datarobot
Python
To use from Python, install using pip
:
pip install pulumi_datarobot
Javscript/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 DataRobotdatarobot:endpoint
(environment:DATAROBOT_ENDPOINT
) - the endpoint for DataRobot
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
:- create a directory where you want to store package wheels.
mkdir folder_containing_wheel
- 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`.- 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
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
File details
Details for the file pulumi_datarobot-0.3.5.tar.gz
.
File metadata
- Download URL: pulumi_datarobot-0.3.5.tar.gz
- Upload date:
- Size: 55.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f45b0e4ccd786b143ae7b72fa916e93ad8e971066aa062c98d4a9cb1a231f69 |
|
MD5 | 0366127e1f94e9b3869b3473601dfe9e |
|
BLAKE2b-256 | cbf7d1f7e5cff9f0b4b4680e58f25a4118c38cdc5eed03fb1987e85b289929d0 |