This message was deleted.
# aws
s
This message was deleted.
1
g
is
vpc
from the
awsx
package?
f
yes
g
I suspect you need to use that like this:
Copy code
subnetId: pulumi.output(vpc.publicSubnetIds)[0],
As it was, I think it comes through as
undefined
which means AWS tries to put it in the default VPC which would be a different vpc.
f
perfect... instances now created successfully 🙂
I think it would be good to mention this in the example code.
g
Indeed! Do you mind sharing where you saw that example code?
f
just combined both together with some additional parameters to create e2e deployment example.
g
Thanks. I’ll get them updated.