Skip to content

Commit

Permalink
fix(cfnspec): allow resource-level documentation changes
Browse files Browse the repository at this point in the history
  • Loading branch information
BenChaimberg committed Aug 23, 2021
1 parent 82dd282 commit b70e69a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/@aws-cdk/cfnspec/build-tools/spec-diff.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,11 @@ async function main() {
});
}
break;
case 'Documentation':
describeChanges(resourceType, key, update.Documentation).forEach(change => {
attributeChanges.push(change);
});
break;
default:
throw new Error(`Unexpected update to ${resourceType}: ${key}`);
}
Expand Down

0 comments on commit b70e69a

Please sign in to comment.