This message was deleted.
# python
s
This message was deleted.
k
I was thinking of something like
azure_provider = pulumi_azure_native.Provider("provider", subscription_id=subscription_id)
not sure if #CRVK66N5U is a better place to ask for that
I got it. Just me being not able to read properly caused a lot of wasted time 🙂
Copy code
subscription_id = "..."
azure_provider = pulumi_azure_native.Provider("provider", subscription_id=subscription_id)
rg_name = "..."
resource_group_resources = pulumi.Output.from_input(
    pulumi_azure_native.resources.get_resource_group(resource_group_name=rg_name, opts=pulumi.InvokeOptions(provider=azure_provider))
)
Is all that is needed to read some resource in a particular subscription. I wasted a lot time because I always tried ResourceOptions instead of InvokeOptions 😕