https://pulumi.com logo
#typescript
Title
# typescript
a

able-hair-32695

12/10/2021, 11:35 PM
Hey there! I’m currently playing around with Pulumi and put together a small proof of concept for managing Github repositories as well as creating OIDC roles in AWS. I’m hoping somebody could take a look and possibly provide some feedback. I just want to be sure that I’m not going about things completely wrong. https://github.com/M1kep/pulumi-learning/tree/main/github-typescript-with-oidc
b

billowy-army-68599

12/11/2021, 12:22 AM
hey there @able-hair-32695! This looks pretty good so far! one thing you might consider, instead of using exported functions, you might want to try creating a component resource, which lets you do more things with outputs: https://www.pulumi.com/docs/intro/concepts/resources/#components There's a fully featured example here: https://github.com/jaxxstorm/pulumi-examples/blob/6cd77da38839d8b53e5df2a4e9e62364360d8c5e/typescript/kubernetes/ingress_component/ingress.ts