https://pulumi.com logo
Title
b

brainy-beach-36627

12/09/2022, 3:44 PM
Sorry if I missed something, but I just tried to upgrade the pulumi-eks library to version 1.0.0 (python code). And I get the following error :
Exception: Invoke: Default provider for 'aws' disabled. 'aws:index/getPartition:getPartition' must use an explicit provider.
If I downgrade the lib to my previous version, it works again
a

ancient-policeman-24615

12/09/2022, 4:45 PM
That sounds like a bug. Do you know what eks resource is triggering this?
b

brainy-beach-36627

12/09/2022, 4:48 PM
I think it is the cluster component
I removed everything except the cluster, and the error is still here
a

ancient-policeman-24615

12/09/2022, 5:10 PM
Thats totally a bug. I’ll open an issue for pulumi-eks
b

brainy-beach-36627

12/09/2022, 5:13 PM
Ok ! If you want I can create a fresh dummy project to check if the problem is easily reproducible. And then create the issue accordingly
a

ancient-policeman-24615

12/09/2022, 5:14 PM
I reprod the issue with
from pulumi import ResourceOptions
from pulumi_eks import Cluster
from pulumi_aws import Provider

provider = Provider("aws", region="us-west-2")
Cluster("hi", ResourceOptions(providers=[provider]))
I think we can safely say its easily reproducible 😄
b

brainy-beach-36627

12/09/2022, 5:15 PM
Ok, that’s definitely easy to reproduce 🙂
a

ancient-policeman-24615

12/09/2022, 5:19 PM
If you want to file an issue, that would be great! (otherwise I can do it 😄)
b

brainy-beach-36627

12/09/2022, 5:20 PM
Yes I can do it, once done I will send the link here