Looking at this blog https://www.pulumi.com/blog/kubernetes-yaml-generation/ you can render the pulumi resources to yaml. I notice that for every object you need to provide it with the provider config. Is there a way to make it more dry, such that you create a provider and tell pulumi to use it for all objects?
04/10/2020, 4:17 PM
AFAIK you either use the default provider or you have to specify it every time
I was looking for a DRY solution too for AWS but couldn't find it for now
Thanks @lemon-agent-27707 one last question. I currently have 5 gke cluster that were provisioned by terraform. Is a remote state reference through pulumi the best way to create a provider to each cluster or is there a better way?