Open rsignell-usgs opened 4 years ago
Thanks for raising this @rsignell-usgs.
It looks like when we cleanup we create a new boto client. And we are not passing the same kwargs that we do when creating the regular ones.
Regular https://github.com/dask/dask-cloudprovider/blob/c041218d43f64701469c8a9ba97f79f0c9761e6d/dask_cloudprovider/providers/aws/ecs.py#L778 https://github.com/dask/dask-cloudprovider/blob/c041218d43f64701469c8a9ba97f79f0c9761e6d/dask_cloudprovider/providers/aws/ecs.py#L613-L617
So it looks like this would also be an issue if the keys were passed in programmatically or via config too. We should pass these options on to the cleanup function.
For some reason cleanup is not recognizing the region:
gives
you can work around this by specifying:
or by setting
skip_cleanup=True
: