fix(catalog-backend-module-aws): pass in region when initialize EKS cluster
Signed-off-by: Sabrina Lo <sabrina.lo@segment.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-catalog-backend-module-aws': patch
|
||||
---
|
||||
|
||||
AwsEksClusterProcessor pass in region when initialize EKS cluster
|
||||
@@ -108,6 +108,7 @@ export class AwsEKSClusterProcessor implements CatalogProcessor {
|
||||
const eksClient = new EKS({
|
||||
credentials,
|
||||
credentialDefaultProvider: providerFunction,
|
||||
region,
|
||||
});
|
||||
const clusters = await eksClient.listClusters({});
|
||||
if (clusters.clusters === undefined) {
|
||||
|
||||
Reference in New Issue
Block a user