Skip to content

Commit

Permalink
Add KeyID as a target for TargetKeyId (#2953)
Browse files Browse the repository at this point in the history
  • Loading branch information
kddejong committed Nov 17, 2023
1 parent 3c4f118 commit 72b3739
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/cfnlint/data/CloudSpecs/us-east-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -232987,8 +232987,8 @@
},
"AWS::KMS::Alias.TargetKeyId": {
"GetAtt": {
"AWS::KMS::Key": "Arn",
"AWS::KMS::ReplicaKey": "Arn"
"AWS::KMS::Key": ["Arn", "KeyId"],
"AWS::KMS::ReplicaKey": ["Arn", "KeyId"]
},
"Ref": {
"Parameters": [
Expand Down
10 changes: 8 additions & 2 deletions src/cfnlint/data/ExtendedSpecs/all/03_value_types.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,14 @@
},
"AWS::KMS::Alias.TargetKeyId": {
"GetAtt": {
"AWS::KMS::Key": "Arn",
"AWS::KMS::ReplicaKey": "Arn"
"AWS::KMS::Key": [
"Arn",
"KeyId"
],
"AWS::KMS::ReplicaKey": [
"Arn",
"KeyId"
]
},
"Ref": {
"Parameters": [
Expand Down

0 comments on commit 72b3739

Please sign in to comment.