This repository was archived by the owner on Oct 8, 2025. It is now read-only.

Description
Describe the bug
In certain configuration environments, the EKS build project fails to write to the kubeconfig file. The project aborts with this error:
Using AWS profile [f5] from Pulumi configuration
adding eks-sample-pulumi361-eksCluster-8dd5b98 cluster to local kubeconfig
'NoneType' object is not iterable
To Reproduce
Steps to reproduce the behavior:
- In an environment where you have custom kubeconfig contexts including GCP clusters.
- Select any context.
- Run the build.
I am doing additional work to drill this down to what is happening, but so far it seems to be tied to the way the gcloud utility updates the configuration.
Expected behavior
The project should run to completion w/o errors (ie, the kubeconfig should be created).
Your environment
- Linux amd64
- Master Branch
- Pulumi / AWS
Additional context
None