rich-advantage-88727
02/05/2024, 9:29 AMeksClusterSecurityGroup
can not be created because Default provider for 'aws' disabled. ... must use an explicit provider
. I am passing down the aws
provider to the eks.NewCluster
method via a parent. I am also passing down an explicit eks
provider (don't really understand the point of this since it takes no arguments) to the same method.rich-advantage-88727
02/05/2024, 10:37 AMeks.NewCluster
fixed the issue. Shouldn't providers be passed amongst the parent?echoing-dinner-19531
02/05/2024, 10:43 AMrich-advantage-88727
02/05/2024, 12:23 PMrich-advantage-88727
02/06/2024, 7:21 AMawsProvider := parent.GetProvider("aws::")
and passing that provider to the `eks.NewCluser`method.