sparse-intern-71089
12/19/2023, 7:17 PMsteep-toddler-94095
12/19/2023, 11:18 PMsticky-horse-12214
12/20/2023, 12:14 AMself.k8_provider = k8s.Provider('eks-k8s', kubeconfig=self.cluster.kubeconfig.apply(lambda k: json.dumps(k)))
where cluster
is an pulumi_eks.eks.Cluster
object.
Incidentally, I was able to stand up a stack in my dev environment after resolving a new issue around a circular dependency that hadn’t come up previously, but I still can’t do an update to an existing stack in this staging environment with the same above error.sticky-horse-12214
12/20/2023, 12:16 AMDiagnostics:
aws:eks:Cluster (bluewhale-production-eksCluster):
error: Exception calling application: expected str, bytes or os.PathLike object, not Unknown
steep-toddler-94095
12/20/2023, 12:19 AMsticky-horse-12214
12/20/2023, 12:20 AMsteep-toddler-94095
12/20/2023, 12:24 AMself.k8_provider
might be missing in any resources (have you also tried printing the json contents to make sure it's exactly what you expect). and the type error you got looks like you might need to just comb through the codesticky-horse-12214
12/20/2023, 12:28 AMk8_provider
handle might lead to issues with later iterations even if an initial deploy works fine? Does that check out at all?steep-toddler-94095
12/20/2023, 2:40 AMprovider
setting to a k8s resource and had a local k8s cluster running accessible at localhost, ran pulumi up successfully, stopped the local cluster, and ran pulumi up again, i think it could result in the scnario you're seeing.
curious if you can successfully run pulumi refresh