This message was deleted.
# aws
s
This message was deleted.
a
Closest I've gotten is typecasting an output as an input...
`const networking = new pulumi.StackReference(
other_stack
)`
const vpcId: Input<string> = networking.requireOutputValue("vpcId") as Input<string>
`const vpc = awsx.ec2.Vpc.fromExistingIds(
cluster-vpc
, {vpcId: vpcId})`
v
Have you tried just using
requireOuput
?
We do this in a similar pattern and don't have any issues with it
a
Thanks for the tips. Just using
requireOutput
now is working for me though I swear I tried that previously. I think part of the problems I'm running into are related to Crosswalk vs Classic AWS. ECS Crosswalk for instance won't take just a vpcId for the vpc like some of the classic options and I couldn't get it to work by hydrating the vpc from non-crosswalk examples I saw either.