setConfig method
Sets one config key on stackName.
Implementation
Future<PulumiCommandResult> setConfig(
String stackName,
String key,
String value, {
bool path = false,
bool secret = false,
}) {
final args = <String>['config', 'set'];
if (path) {
args.add('--path');
}
args.addAll(<String>[
key,
'--stack',
stackName,
secret ? '--secret' : '--plaintext',
'--non-interactive',
'--',
value,
]);
return runPulumiCommand(args);
}