removeConfig method

Future<PulumiCommandResult> removeConfig(
  1. String stackName,
  2. String key, {
  3. bool path = false,
})

Removes one config key from stackName.

Implementation

Future<PulumiCommandResult> removeConfig(
  String stackName,
  String key, {
  bool path = false,
}) {
  final args = <String>['config', 'rm'];
  if (path) {
    args.add('--path');
  }
  args.addAll(<String>[key, '--stack', stackName]);
  return runPulumiCommand(args);
}