Take the sample CFN template -
{
"Outputs": {
"Out1": { "Value": "Val1" },
"Out2": { "Value": "Val2" }
}
}
The assertion here currently looks like -
template.hasOutput({
Value: "Val1",
});
This is ambiguous and makes it impossible to assert that the correct values are present beside the correct keys.
The API should be corrected to include the key so as to fix this.
This is 🐛 Bug Report