No idea. It's the same share for all the getters. The ID is mandatory, so why have a state parameter to filter it down? The most it can do is reduce the number of results from 1 to 0...
little-cartoon-10569
03/10/2022, 9:10 PM
I have always left that parameter out, it has never complained (in the TS version).
b
busy-island-31180
03/10/2022, 9:39 PM
well, what really sucks is that I’d like to filter, possibly within the id
busy-island-31180
03/10/2022, 9:40 PM
but it seems there are some explicit getters made for that, that return multiple items based on the filter
l
little-cartoon-10569
03/10/2022, 9:43 PM
Yes, the get function is intended to be "get one and only one".
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.