damp-lamp-3028812/09/2022, 3:20 AM
. However there is no other KMS key in this stack and no duplicate URN. I have exported the stack to JSON and verified that there is no matching URN.
Duplicate resource URN
Even weirder, when I go back to a previous commit (before the KMS key was in the stack) and run a
error: Duplicate resource URN 'urn:pulumi:production::jackpot-reader::aws:kms/key:Key::jackpot-reader-production-key'; try giving it a unique name
, in the diff it shows that it's trying to create the KMS Key! Yet there's no key in the IaC!
Changing the name just creates two keys as well! (one with the new and one with the old)
... + └─ aws:kms:Key jackpot-reader-production-key create + └─ aws:kms:Alias key-alias create ...
Any help would be appreciated as we are essentially blocked from deploying this stack. Versions:
... + ├─ aws:kms:Key jackpot-reader-production-kms-key create + │ └─ aws:kms:Alias jackpot-reader-production-kms-key-alias create + ├─ aws:kms:Key jackpot-reader-production-key create + │ └─ aws:kms:Alias key-alias create ...
We are using TypeScript as well. I've tried updating the AWS package, pulumi package, refreshing the stack but no luck.
little-cartoon-1056912/09/2022, 3:38 AM
damp-lamp-3028812/09/2022, 3:39 AM
in the working directory
little-cartoon-1056912/09/2022, 3:49 AM
runtime: name: nodejes options: typescript: false
damp-lamp-3028812/09/2022, 3:54 AM
so I've applied that. However I keep getting strange diffs in the stack when I change no IaC. This may be an issue with the AWS pulumi package...
little-cartoon-1056912/09/2022, 4:02 AM
damp-lamp-3028812/09/2022, 4:07 AM
, I'm thinking this is an issue with the AWS package. I'm not getting repeatable deploys here, I change no IaC and have diffs between ups where I shouldn't...