Closed zaggo closed 1 year ago
Ah that's frustrating that isn't caught at compilation time. This is being caused by a clash of endpoint names across different AWS partitions. I don't even think the ProdFips
endpoints are ever used. I'll see if I can fix the code generator to not output these.
Describe the bug When initializing KMS, the app stops with a fatal error:
Fatal error: Dictionary literal contains duplicate keys
atKMS_API.swift:58
The source at this location looks like this:
The 4 instances of
ProdFips
as keys seem to be the problem…To Reproduce Steps to reproduce the behavior:
.product(name: "SotoKMS", package: "soto")
dependency to a projectlet kms = SotoKMS.KMS(client: awsClient, region: region)
Expected behavior The KMS initializer is executed without a fatal error.
Setup (please complete the following information):