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

stocky-spoon-28903

08/08/2019, 2:13 PM
@fierce-cpu-94517 Only things exported from the entry point module should become stack outputs
f

fierce-cpu-94517

08/08/2019, 2:46 PM
right. I have in
index.ts
Copy code
export * from "./ec2"
export * from "./s3"
So is it a best practice to manage all my stack outputs as exports in
index.ts
? for example:
Copy code
import * as ec2 from './ec2'

export const ec2.myInstance.publicIP
s

stocky-spoon-28903

08/08/2019, 2:48 PM
Yes - that’s exactly the idea
f

fierce-cpu-94517

08/08/2019, 2:48 PM
Thanks!