This message was deleted.
# general
s
This message was deleted.
b
I would pass the provider into the
ComponentResource
using a normal argument and then accessing it in the resource inside the component resource. I've done a quick example here: https://github.com/pierskarsenbarg/pulumi-scratchpad/tree/main/provider-componentresource You can see in my
Pulumi.dev.yaml
file that my region is set to
eu-west-1
but because I've passed in a provider to my component resource the bucket will get created in
eu-west-2
instead:
p
Thanks Piers!
Muchly appreciated ❤️
b
🙂