I have an AWS/pulumi process that is configured to...
# aws
w
I have an AWS/pulumi process that is configured to acquire a specific role and then pass that aws.Provider around to be incorporated using
ResourceOptions
for authenticating resource creation. Having to constantly remember to apply the resource options to correctly acquire the provider is both tedious and error prone. Is there a way I can declare the assume role provider to be the default provider, or at least the default provider within a specific scope to eliminate this toil?
l
Creating a resource with an opts of
{ parent: otherResource }
uses the parent's
provider
by default. That can help.