cloudformation-cli-typescript-plugin icon indicating copy to clipboard operation
cloudformation-cli-typescript-plugin copied to clipboard

Add tutorial for typescript

Open omkhegde opened this issue 5 years ago • 5 comments

Issue #, if available:

Description of changes: The tutorial walks the user through setting up a resource using sample resource provider, Testing::Unicorn::Maker, and run the contract tests.

omkhegde avatar Oct 30 '20 18:10 omkhegde

Codecov Report

Merging #29 into master will increase coverage by 1.81%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #29      +/-   ##
==========================================
+ Coverage   97.52%   99.33%   +1.81%     
==========================================
  Files          13       13              
  Lines         888     1050     +162     
  Branches      158      183      +25     
==========================================
+ Hits          866     1043     +177     
+ Misses         22        7      -15     
Flag Coverage Δ
unittests 99.33% <ø> (+1.81%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/utils.ts 100.00% <0.00%> (ø)
src/metrics.ts 100.00% <0.00%> (ø)
python/rpdk/typescript/codegen.py 100.00% <0.00%> (ø)
src/resource.ts 98.04% <0.00%> (+3.41%) :arrow_up:
src/proxy.ts 100.00% <0.00%> (+4.25%) :arrow_up:
src/log-delivery.ts 98.82% <0.00%> (+5.60%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 4215ab3...d2436fc. Read the comment docs.

codecov[bot] avatar Oct 30 '20 19:10 codecov[bot]

I would first update the unicorn maker repository and point to the latest support library version.

eduardomourar avatar Nov 02 '20 19:11 eduardomourar

There are also the following repositories containing multiple examples: https://github.com/eduardomourar/example-aws-resource-type and https://github.com/org-formation/aws-resource-providers

eduardomourar avatar Nov 02 '20 19:11 eduardomourar

This tutorial can now use the details from this AWS Blog post: https://aws.amazon.com/blogs/mt/introducing-typescript-support-for-building-aws-cloudformation-resource-types/

eduardomourar avatar Apr 12 '21 18:04 eduardomourar

Any news about this tutorial ?

BourgoisMickael avatar Aug 09 '22 09:08 BourgoisMickael