In fact, both of these will be (newly) possible wi...
# general
w
In fact, both of these will be (newly) possible with the
0.15.0
release which we expect to release today (currently
0.15.0-rc2
is published and being tested). On 1. this was added with https://github.com/pulumi/pulumi-azure/pull/86. I haven't used this yet myself, but the two Terraform Azure Provider resources you note are now available in Pulumi. On 2. we've added support for "1st class providers" in
0.15.0
which allows you to do
new kubernetes.Provider({ kubeconfig: ..., context: ... })
to create a new Kubernetes provider configured with a kubeconfig that was potentially computed as a result of other operations. We'll have an example of this exact use case (AKS + Kubernetes deployments) published along with the release later today. You can see a simple example here: https://github.com/pulumi/pulumi-kubernetes/blob/a2ba053df34ecb980c8d218a47f6208cd7e7282f/examples/provider/index.ts