pulumi_command

The Pulumi Command Provider enables you to execute commands and scripts either locally or remotely as part of the Pulumi resource model.

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

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_command

Usage

import 'package:pulumi/pulumi.dart' as pulumi;
import 'package:pulumi_command/pulumi_command.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_command:
    git:
      url: https://github.com/kingwill101/pulumi-dart.git
      path: packages/sdks/command
      ref: master

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