This message was deleted.
# general
s
This message was deleted.
b
you’re querying the subnets at the same time you’re creating them, you need to make sure the subnet query happens after the vpc creation with depends_on It’s not really clear why you’re doing this however
b
1. So preview command actually queries the resources on aws to get the results? 2. I think depends_on is a resource option and cannot be used for get_* functions which hqve invoke_option. Let me know if im wrong. 3. Simce im still testing out pulumi, i was trying to get the zone in which the subnet is created to use later on in code.
@billowy-army-68599 thoughts?