This message was deleted.
# general
s
This message was deleted.
r
Curiously, creating a new aws provider and passing it to
eks.NewCluster
fixed the issue. Shouldn't providers be passed amongst the parent?
e
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
Alright, thank you @echoing-dinner-19531!
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.