Skip to content

Commit

Permalink
fix(cfnspec): changes to resource-level documentation not supported (#…
Browse files Browse the repository at this point in the history
…16170)

Internal reference: V417958316

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
BenChaimberg authored Aug 23, 2021
1 parent 82dd282 commit 82e4b4f
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 82e4b4f

Please sign in to comment.