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.4.5.tar.gz
.
File metadata
- Download URL: pulumi_datarobot-0.4.5.tar.gz
- Upload date:
- Size: 59.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18902c6fc8d66d1b2cd72c95108b6a9557b17b713f03a5e6c9f3c35052204d31 |
|
MD5 | 5ba766d35433c0a7638736f6fc3d1779 |
|
BLAKE2b-256 | 36fe5e880cf691c6f62abc6f961c7ed0a29e505b7e7a9e18ea7ec527542170a6 |