Skip to content

Commit 1e3e66d

Browse files
committed
feat: Update kms connection
1 parent f536b73 commit 1e3e66d

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

src/services/cognitoUserPool/connections.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ export default ({
103103

104104
if (kmsKeyID && kms?.data?.[region]) {
105105
const kmsInRegion: AwsKms = kms.data[region].find(
106-
({ KeyId }: AwsKms) => kmsKeyID === KeyId
106+
({ KeyArn }: AwsKms) => kmsKeyID === KeyArn
107107
)
108108

109109
if (kmsInRegion) {

src/services/ecsCluster/connections.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export default ({
7777
const kms = data.find(({ name }) => name === services.kms)
7878
if (kms?.data?.[region]) {
7979
const kmsInRegion: AwsKms = kms.data[region].find(
80-
({ KeyId }: AwsKms) => KeyId === kmsKeyId
80+
({ KeyArn }: AwsKms) => KeyArn === kmsKeyId
8181
)
8282

8383
if (kmsInRegion) {

src/types/generated.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1578,7 +1578,6 @@ export type AwsEcsCluster = AwsBaseService & {
15781578
ecsService?: Maybe<Array<Maybe<AwsEcsService>>>;
15791579
ecsTask?: Maybe<Array<Maybe<AwsEcsTask>>>;
15801580
ecsTaskSet?: Maybe<Array<Maybe<AwsEcsTaskSet>>>;
1581-
id: Scalars['String'];
15821581
kms?: Maybe<Array<Maybe<AwsKms>>>;
15831582
pendingTasksCount?: Maybe<Scalars['Int']>;
15841583
registeredContainerInstancesCount?: Maybe<Scalars['Int']>;

0 commit comments

Comments
 (0)