Files
floci/docs
lex00 cbde58f238 feat(cloudformation): provision AWS::ApiGateway::ApiKey (#3122)
* 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.
2026-09-06 15:12:50 -05:00
..
2026-03-15 17:43:56 -05:00