pulumi_random

A Pulumi package to safely use randomness in Pulumi programs.

Provider documentation: Pulumi Registry Upstream repository: https://github.com/pulumi/pulumi-random

This package is generated from the upstream Pulumi provider schema. It requires the Pulumi Dart SDK and the pulumi-language-dart language host.

Installation

dart pub add pulumi_random

Usage

import 'package:pulumi/pulumi.dart' as pulumi;
import 'package:pulumi_random/pulumi_random.dart' as provider;

Resources are grouped by provider module. For example, a resource constructor is exposed as provider.<module>.<Resource>(...). See example/main.dart for a runnable example.

# Run these commands from the package directory containing Pulumi.yaml.
dart pub get
pulumi preview
pulumi up

Generated resource arguments accept Pulumi Input<T> values. Plain Dart values can be converted with .input() after importing package:pulumi/pulumi.dart.

Alternative: Use directly from GitHub

dependencies:
  pulumi_random:
    git:
      url: https://github.com/kingwill101/pulumi-dart.git
      path: packages/sdks/random
      ref: master

For package-specific resources, arguments, and outputs, use the generated Dart API documentation and the upstream provider documentation linked above.