big-architect-71258
07/21/2022, 11:49 AMtall-librarian-49374
07/21/2022, 12:44 PMversion
option on the resource itself, or define a provider resource and then refer to it from resource optionsresources:
something:
type: aws:s3:Bucket
properties:
...
options:
version: 5.6.0
big-architect-71258
07/21/2022, 12:58 PMtall-librarian-49374
07/21/2022, 8:05 PMA provider is not a resource.A provider is a resource! It should work. @orange-policeman-59119 do we have an example?
orange-policeman-59119
07/21/2022, 8:13 PMtall-librarian-49374
07/21/2022, 8:26 PMname: providertest
runtime: yaml
resources:
provider:
type: pulumi:providers:azure
options:
version: 5.1.0
rg:
type: azure:core:ResourceGroup
properties:
location: WestEurope
options:
provider: ${provider}
big-architect-71258
07/21/2022, 9:38 PMtall-librarian-49374
07/21/2022, 9:41 PMbig-architect-71258
07/22/2022, 7:12 AMtall-librarian-49374
07/22/2022, 7:33 AMbig-architect-71258
07/22/2022, 9:33 AMFn::Invoke
that calls getClientConfig
of the Azure Classic provider, stating that default providers are disabled. I don't see any possibility to specify the provider instance with an Invoke
.
https://www.pulumi.com/docs/reference/yaml/#fninvoketall-librarian-49374
07/22/2022, 12:34 PMbig-architect-71258
07/22/2022, 12:36 PMtall-librarian-49374
07/22/2022, 12:37 PMbig-architect-71258
07/22/2022, 12:38 PMfull-artist-27215
07/28/2022, 7:54 PMrequirements.txt
file and go from there.orange-policeman-59119
07/28/2022, 7:58 PMfull-artist-27215
07/28/2022, 8:00 PMorange-policeman-59119
07/28/2022, 8:00 PM