(properties: PropertyGetter)
| 113 | } |
| 114 | |
| 115 | export async function initConfig(properties: PropertyGetter) { |
| 116 | awsConfigInit = true; |
| 117 | awsProps = properties; |
| 118 | awsConfig = await loadAwsConfig(properties); |
| 119 | } |
| 120 | |
| 121 | export function getConfig(name: string): string { |
| 122 | if (!awsConfigInit) throw new Error("Reading AWS config before it's loaded"); |
nothing calls this directly
no test coverage detected