mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 14:10:49 -05:00
* feat(cloudformation): provision AWS::ApiGateway::ApiKey Per-service provisioner over ApiGatewayService. Ref and Fn::GetAtt APIKeyId both yield the key id. Description, Enabled and Tags update in place. Name, Value and GenerateDistinctId are createOnly, so a change to any of them is refused as a replacement rather than applied to the existing key. A template that omits Name keeps its generated name across updates instead of minting a second key. Stack deletion deletes the key and tolerates one already gone. ApiGatewayService gains replaceApiKeyTags so an update can drop a tag the template no longer declares. Ported from lex00/floci#118. Tracked in lex00/floci#192. * fix(cloudformation): keep an API key's create-time reserved tags across updates replaceApiKeyTags checked the whole desired map against the reserved list, so a key created with a reserved floci tag could never change an ordinary tag afterwards. Only a reserved tag that is new or changed is an update-time override attempt and is refused now. Adds a test that dropping Description from the template clears it on the key.