Skip to content

Commit 72b3739

Browse files
authored
Add KeyID as a target for TargetKeyId (#2953)
1 parent 3c4f118 commit 72b3739

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

src/cfnlint/data/CloudSpecs/us-east-1.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232987,8 +232987,8 @@
232987232987
},
232988232988
"AWS::KMS::Alias.TargetKeyId": {
232989232989
"GetAtt": {
232990-
"AWS::KMS::Key": "Arn",
232991-
"AWS::KMS::ReplicaKey": "Arn"
232990+
"AWS::KMS::Key": ["Arn", "KeyId"],
232991+
"AWS::KMS::ReplicaKey": ["Arn", "KeyId"]
232992232992
},
232993232993
"Ref": {
232994232994
"Parameters": [

src/cfnlint/data/ExtendedSpecs/all/03_value_types.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,14 @@
1010
},
1111
"AWS::KMS::Alias.TargetKeyId": {
1212
"GetAtt": {
13-
"AWS::KMS::Key": "Arn",
14-
"AWS::KMS::ReplicaKey": "Arn"
13+
"AWS::KMS::Key": [
14+
"Arn",
15+
"KeyId"
16+
],
17+
"AWS::KMS::ReplicaKey": [
18+
"Arn",
19+
"KeyId"
20+
]
1521
},
1622
"Ref": {
1723
"Parameters": [

0 commit comments

Comments
 (0)