This message was deleted.
# aws
s
This message was deleted.
g
Are you getting this different behavior across different projects or different stacks of the same project? The AWSX output types did change a while back so I suspect you were on a previous version and updated recently. You need to use the publicSubnetIds output like this in the latest AWSX version:
Copy code
subnetId: pulumi.output(vpc.publicSubnetIds.then(ids => ids[0])),
b
Same project, that code works so thank you but now I wonder why it works elsewhere
g
That is strange. Is this all on the same machine too? If so, it should be using the same
package-lock.json
to keep the stacks all on the same versions.
b
Yes, I wil dig deeper