Curiously, creating a new aws provider and passing it to
eks.NewCluster
fixed the issue. Shouldn't providers be passed amongst the parent?
e
echoing-dinner-19531
02/05/2024, 10:43 AM
They probably should be but the inheritance logic here was historically patchy and changing it now is a break change as it could cause resource replacements. Something we keep looking at, but not clear what the path forward is yet.
r
rich-advantage-88727
02/05/2024, 12:23 PM
Alright, thank you @echoing-dinner-19531!
rich-advantage-88727
02/06/2024, 7:21 AM
For anyone coming back to this later, I eventually fixed the issue by manually pulling the provider from the parent:
Copy code
awsProvider := parent.GetProvider("aws::")
and passing that provider to the `eks.NewCluser`method.
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.