https://pulumi.com logo
Title
n

numerous-alarm-76016

03/31/2023, 11:59 AM
Hello! I'm trying to get a kms key using its alias, basically the first line of this example: https://www.pulumi.com/registry/packages/aws/api-docs/kms/getkey/#example-usage I get the following error: Exception: invoke of aws:kms/getKey:getKey failed: invalid value for key_id (must be a KMS Key ID) () I'm using pulumi 3.60.1 with python. Thanks in advance for your help! Posted in #aws
f

fierce-ability-58936

04/05/2023, 3:22 AM
If you want to get a key by its alias they you probably want https://www.pulumi.com/registry/packages/aws/api-docs/kms/getalias/