Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Overview of the Issue
We are trying to build an image with amazon-ebs and use an KMS key alias from another account, requiring the full ARN, like "arn:aws-cn:kms:cn-north-1:xxxxxxxxxxxx:alias/my-alias".
This seems to be the same kind of problem as in #7640, but with an ARN from the AWS-CN partition.
Packer version
Packer 1.8.6
Log Fragments and crash.log files
* "arn:aws-cn:kms:cn-north-1:xxxxxxxxxxxx:alias/my-alias" is not a valid KMS Key Id.
* "arn:aws-cn:kms:cn-north-1:xxxxxxxxxxxx:alias/my-alias" is not a valid KMS Key Id.
This issue was originally opened by @christian-ertl in https://github.com/hashicorp/packer/issues/12332 and has been migrated to this repository. The original issue description is below.
Community Note
Overview of the Issue
We are trying to build an image with amazon-ebs and use an KMS key alias from another account, requiring the full ARN, like "arn:aws-cn:kms:cn-north-1:xxxxxxxxxxxx:alias/my-alias".
This seems to be the same kind of problem as in #7640, but with an ARN from the AWS-CN partition.
Packer version
Log Fragments and crash.log files