This message was deleted.
# general
s
This message was deleted.
w
It definitely should be inferred from the parent. Do you have a full repro you could share in a GitHub issue?
w
Just tried again now, deleting the resource first, then trying to create without the provider specified:
Copy code
Type                                                 Name             Plan       Info
     pulumi:pulumi:Stack                                  k8s-infra-dev               
     ├─ eks:index:Cluster                                 Dev-Eks                     
 +   │  └─ kubernetes:yaml:ConfigFile                     fluent-bit.yml   create     
     └─ kubernetes:<http://rbac.authorization.k8s.io:ClusterRole|rbac.authorization.k8s.io:ClusterRole>  fluent-bit-read             1 error
 
Diagnostics:
  kubernetes:<http://rbac.authorization.k8s.io:ClusterRole|rbac.authorization.k8s.io:ClusterRole> (fluent-bit-read):
    error: unable to load Kubernetes client configuration from kubeconfig file: invalid configuration: no configuration has been provided