refreshConfig method

Future<Map<String, AutomationConfigValue>> refreshConfig(
  1. String stackName
)

Refreshes config for stackName, then returns the resulting config map.

Implementation

Future<Map<String, AutomationConfigValue>> refreshConfig(
  String stackName,
) async {
  await runPulumiCommand(<String>[
    'config',
    'refresh',
    '--force',
    '--stack',
    stackName,
  ]);
  return getAllConfig(stackName);
}