opendatacube / datacube-k8s-eks

Deploy a production scale datacube cluster on AWS using EKS
Apache License 2.0
21 stars 14 forks source link

cognito module - user of Provider in modules is discouraged and prevents destroy #235

Closed woodcockr closed 4 years ago

woodcockr commented 4 years ago

To quote terraform: "In all cases it is recommended to keep explicit provider configurations only in the root module and pass them (whether implicitly or explicitly) down to descendent modules. This avoids the provider configurations from being "lost" when descendent modules are removed from the configuration. "

There is much pain and suffering now to remove the debris from state

woodcockr commented 4 years ago

If the region needs to be changed relative to a root aws provider, just create another root aws provider for the other region and pass it to the module. All providers should be in the root module