Commit Graph
1645 Commits
Author SHA1 Message Date
semantic-release-bot 225233c192 chore(release): 2.0.1
## [2.0.1](https://github.com/floci-io/floci/compare/2.0.0...2.0.1) (2026-09-01)

### Bug Fixes

* **rds-data:** fixing empty array response from statement ([#2880](https://github.com/floci-io/floci/issues/2880)) ([46283f3](https://github.com/floci-io/floci/commit/46283f3209275dde55ede37ce6d889b5d296d3c5))
2.0.1
2026-09-01 12:43:46 +00:00
Anders Wasen 46283f3209 fix(rds-data): fixing empty array response from statement (#2880) 2026-09-01 08:24:23 -04:00
semantic-release-bot 113c62b949 chore(release): 2.0.0
# [2.0.0](https://github.com/floci-io/floci/compare/1.7.0...2.0.0) (2026-09-01)

* fix(stepfunctions)!: reject JSONata top-level references at definition time ([#2699](https://github.com/floci-io/floci/issues/2699)) ([5534460](https://github.com/floci-io/floci/commit/553446049294499455a70f411d2db3c0050c17ae))

### Bug Fixes

* **acm:** correct wildcard validation record names ([#2575](https://github.com/floci-io/floci/issues/2575)) ([88bf0a2](https://github.com/floci-io/floci/commit/88bf0a293155947487ce72b89cca2514daf7547a))
* **apigateway:** match measured JWT claim wire format and enforce route authorizationScopes ([#2011](https://github.com/floci-io/floci/issues/2011)) ([4980210](https://github.com/floci-io/floci/commit/498021087f23b316d609814c264a280b17a719c5))
* **apigateway:** pass RequestContext to ApiGatewayExecuteController in trailing-slash tests ([#2394](https://github.com/floci-io/floci/issues/2394)) ([41953d8](https://github.com/floci-io/floci/commit/41953d88200017da7b4eb15d0f6ce149aca83c5b)), closes [#2377](https://github.com/floci-io/floci/issues/2377)
* **apigateway:** project HTTP API v2 cookies ([#2391](https://github.com/floci-io/floci/issues/2391)) ([48880aa](https://github.com/floci-io/floci/commit/48880aa79ae9940f4135da25641b70decc7faade))
* **apigateway:** report RestApi as available ([#2816](https://github.com/floci-io/floci/issues/2816)) ([62dbd9d](https://github.com/floci-io/floci/commit/62dbd9ddf953ddbb567818f85c0a49a077f0837b))
* **apigateway:** route CORS preflight (OPTIONS) to deployed API integ… ([#1955](https://github.com/floci-io/floci/issues/1955)) ([0e3391c](https://github.com/floci-io/floci/commit/0e3391cac2de0823f4b30b3b89127b2cbb7d89ba)), closes [#1928](https://github.com/floci-io/floci/issues/1928)
* **apigateway:** support AWS type Lambda integration and fix duplicate Content-Type header ([#2049](https://github.com/floci-io/floci/issues/2049)) ([72dfa63](https://github.com/floci-io/floci/commit/72dfa634f75a849a096804c72c5c4c8ba4fa5442))
* **apigateway:** support underscores in v2 path parameters ([#2721](https://github.com/floci-io/floci/issues/2721)) ([c18af5b](https://github.com/floci-io/floci/commit/c18af5b68adada89c1c81055523e1159208a0568))
* **apigatewayv2:** CloudFormation AuthorizationScopes pass-through and scope-ingestion hardening (follow-up to [#2011](https://github.com/floci-io/floci/issues/2011)) ([#2431](https://github.com/floci-io/floci/issues/2431)) ([d0a96d8](https://github.com/floci-io/floci/commit/d0a96d87b1a9f17d87112b470126c256bfe958df))
* **apigatewayv2:** preserve trailing slash in HTTP API event path ([#2367](https://github.com/floci-io/floci/issues/2367)) ([6469637](https://github.com/floci-io/floci/commit/64696375082a028941488c9cf82d72e18d77c9aa)), closes [#1863](https://github.com/floci-io/floci/issues/1863) [#2136](https://github.com/floci-io/floci/issues/2136)
* **apigatewayv2:** propagate Lambda REQUEST authorizer context to HTTP API backends ([#2715](https://github.com/floci-io/floci/issues/2715)) ([908d70d](https://github.com/floci-io/floci/commit/908d70db3d13c41fa696fe57cd55f3e2976a032f)), closes [#1011](https://github.com/floci-io/floci/issues/1011) [#812](https://github.com/floci-io/floci/issues/812) [#581](https://github.com/floci-io/floci/issues/581)
* **apigatewayv2:** return stage tags across protocols ([#2413](https://github.com/floci-io/floci/issues/2413)) ([5744082](https://github.com/floci-io/floci/commit/5744082c5eb3b99e1a0c52db644b64a67afada77))
* **apigatewayv2:** route requests to API-owning account ([#2377](https://github.com/floci-io/floci/issues/2377)) ([ba9ce84](https://github.com/floci-io/floci/commit/ba9ce8424223f5652ba34f53cbca291372084e53))
* apply S3 Vectors metadata filters ([#2417](https://github.com/floci-io/floci/issues/2417)) ([bd8d99b](https://github.com/floci-io/floci/commit/bd8d99b7575bd70b50fc4fe51f5ec33309c8a14a)), closes [#2160](https://github.com/floci-io/floci/issues/2160)
* **appsync:** honor configured base URL in API URIs ([#2457](https://github.com/floci-io/floci/issues/2457)) ([86e1c01](https://github.com/floci-io/floci/commit/86e1c016cd0bb093be9232f2a4444647a85a97b1))
* **appsync:** use ApiKey.id as the API key value ([#2645](https://github.com/floci-io/floci/issues/2645)) ([2932500](https://github.com/floci-io/floci/commit/29325006bb7fd17714227653a4abcf76e2039a28))
* **appsync:** wait for schema creation in SDK test ([#2456](https://github.com/floci-io/floci/issues/2456)) ([43e5e90](https://github.com/floci-io/floci/commit/43e5e903d16941724b66fee943315dc4143da91b))
* **athena:** route database DDL to Glue ([#2757](https://github.com/floci-io/floci/issues/2757)) ([2480daa](https://github.com/floci-io/floci/commit/2480daaa099bb50d670bcf65b8f22c2cee8dba43))
* **bedrock-agentcore:** allow maxResults up to 1000 ([#2487](https://github.com/floci-io/floci/issues/2487)) ([9792198](https://github.com/floci-io/floci/commit/97921982d70b67725087016bd33e40bf7ffbea0a))
* **bedrock-agentcore:** support memory tagging and dropped fields ([#2501](https://github.com/floci-io/floci/issues/2501)) ([feb669d](https://github.com/floci-io/floci/commit/feb669d58b806965a1a403ba5656f02eeb82e994)), closes [#2316](https://github.com/floci-io/floci/issues/2316)
* **build:** resolve the JSON schema library from Maven Central ([#2811](https://github.com/floci-io/floci/issues/2811)) ([66d910c](https://github.com/floci-io/floci/commit/66d910c61348ed01f9e38563086e18ff864948ee))
* **ci:** replace setup-java's broken maven cache with actions/cache ([#2503](https://github.com/floci-io/floci/issues/2503)) ([a68bfc4](https://github.com/floci-io/floci/commit/a68bfc4e68d265ebf34011b67ae83e0b65e489d5))
* **cloudformation:** adopt managed policy on stack update ([#2717](https://github.com/floci-io/floci/issues/2717)) ([51edcca](https://github.com/floci-io/floci/commit/51edccacbf7ab22977ca765cfb481227d449a1c8))
* **cloudformation:** fail the stack when Lambda S3 code cannot be read ([#2650](https://github.com/floci-io/floci/issues/2650)) ([231c097](https://github.com/floci-io/floci/commit/231c0972b0ec9e663388bf85ec2a15f3ee1ddf38)), closes [#2648](https://github.com/floci-io/floci/issues/2648)
* **cloudformation:** keep a rolled-back stack's diagnostics until the next redeploy ([#2365](https://github.com/floci-io/floci/issues/2365)) ([c54f8dd](https://github.com/floci-io/floci/commit/c54f8ddf023007d975b3dc300873281727e74c66)), closes [#2207](https://github.com/floci-io/floci/issues/2207) [Stack#changeSets](https://github.com/Stack/issues/changeSets) [#2419](https://github.com/floci-io/floci/issues/2419)
* **cloudformation:** no-op stack update for unchanged fixed-name resources ([#2385](https://github.com/floci-io/floci/issues/2385)) ([5864ff6](https://github.com/floci-io/floci/commit/5864ff6aa88e0047b5a3540ac4722c8cfc424e4d)), closes [lex00/floci#16](https://github.com/lex00/floci/issues/16)
* **cloudformation:** reconcile DynamoDB streams declared by StreamSpecification ([#2411](https://github.com/floci-io/floci/issues/2411)) ([c4597f2](https://github.com/floci-io/floci/commit/c4597f2e53ce2c116559353721f516aac1bf3ba1))
* **cloudformation:** resolve IAM assume role policy intrinsics ([#2630](https://github.com/floci-io/floci/issues/2630)) ([6a1d86e](https://github.com/floci-io/floci/commit/6a1d86e43fb0939c833f92a864e9cf44bb6b70cf))
* **cloudformation:** tolerate missing stack resources during deletion ([#2039](https://github.com/floci-io/floci/issues/2039)) ([12b8ddd](https://github.com/floci-io/floci/commit/12b8ddd6291b901a086bc106d346ea87ffb8b09b))
* **cloudfront:** include terraform-required distribution fields ([#1940](https://github.com/floci-io/floci/issues/1940)) ([8ac23de](https://github.com/floci-io/floci/commit/8ac23deb064b243884563db73745943926459f31)), closes [#1930](https://github.com/floci-io/floci/issues/1930)
* **cloudfront:** separate DEVELOPMENT and LIVE function stages ([#2622](https://github.com/floci-io/floci/issues/2622)) ([0dfec3c](https://github.com/floci-io/floci/commit/0dfec3cf3cd4db7d212007472dd7f9393caf4661))
* **cloudwatch:** decompress gzipped cbor bodies. ([#2379](https://github.com/floci-io/floci/issues/2379)) ([f952fff](https://github.com/floci-io/floci/commit/f952fffe77e9c44e05bbeadeeba8fb9d73a6f341))
* **cloudwatch:** evaluate alarms over CloudWatch's wider evaluation range ([#2771](https://github.com/floci-io/floci/issues/2771)) ([cfe8566](https://github.com/floci-io/floci/commit/cfe8566511cf0ac720174f95e72a07b41ff517be)), closes [#2700](https://github.com/floci-io/floci/issues/2700)
* **cognito:** AWS-accurate `UsernameAttributes` pools — UUID username, alias sign-in, and token/revocation parity ([#1849](https://github.com/floci-io/floci/issues/1849)) ([1ca19c7](https://github.com/floci-io/floci/commit/1ca19c722ac8ed3dd20b1a4e396ebb11f58aaec5))
* **cognito:** enforce user pool password policies ([#2070](https://github.com/floci-io/floci/issues/2070)) ([3aaf745](https://github.com/floci-io/floci/commit/3aaf74520eadd2c0a71ec84b2ab06a1b406f2f80)), closes [#2066](https://github.com/floci-io/floci/issues/2066) [#2066](https://github.com/floci-io/floci/issues/2066)
* **cognito:** reject self-managed verification status ([#2532](https://github.com/floci-io/floci/issues/2532)) ([f8597bd](https://github.com/floci-io/floci/commit/f8597bdef91e5538988afb1ac7bec5ab2c90eaa6))
* **docdb:** give a record without an ARN the one it should have had ([#2425](https://github.com/floci-io/floci/issues/2425)) ([7602002](https://github.com/floci-io/floci/commit/760200223a557b8a824d10e856e8d910e051e3d9))
* **docdb:** refuse an engine version a live account does not list ([#2682](https://github.com/floci-io/floci/issues/2682)) ([46d2f4e](https://github.com/floci-io/floci/commit/46d2f4e70f765d4f24842b5530d79d3d078290aa)), closes [#2681](https://github.com/floci-io/floci/issues/2681)
* **docdb:** scope cluster and instance identifiers per region ([#2440](https://github.com/floci-io/floci/issues/2440)) ([3887a6c](https://github.com/floci-io/floci/commit/3887a6ca65479e41fcf7ccc17ee231688c3bba75)), closes [#2408](https://github.com/floci-io/floci/issues/2408)
* **docdb:** store and return cluster and instance settings ([#2651](https://github.com/floci-io/floci/issues/2651)) ([f019573](https://github.com/floci-io/floci/commit/f019573bf164245e8a0555d9d7a3587e5feb7cb9)), closes [#2614](https://github.com/floci-io/floci/issues/2614)
* **dynamodb:** cap GSI multi-attribute key parts at 4 attributes ([#2475](https://github.com/floci-io/floci/issues/2475)) ([13f6867](https://github.com/floci-io/floci/commit/13f68670d770b35bb5341320cd510078866d6a8c)), closes [#2460](https://github.com/floci-io/floci/issues/2460)
* **dynamodb:** enforce composite query order ([#2471](https://github.com/floci-io/floci/issues/2471)) ([e4356de](https://github.com/floci-io/floci/commit/e4356def24503cf6fac01c6e48a2228087c4c37d)), closes [#2462](https://github.com/floci-io/floci/issues/2462)
* **dynamodb:** hybrid persistence ([#2677](https://github.com/floci-io/floci/issues/2677)) ([e531683](https://github.com/floci-io/floci/commit/e5316839caa93c3ca6e856df85723f7be7f6a8be))
* **dynamodb:** recognize every HASH attribute of a composite GSI partition key ([#2474](https://github.com/floci-io/floci/issues/2474)) ([768e96a](https://github.com/floci-io/floci/commit/768e96a33fb3c7de9421b9249f3f3850c2a8a562)), closes [#2461](https://github.com/floci-io/floci/issues/2461)
* **dynamodb:** reject key attribute values whose type does not match the key schema ([#2625](https://github.com/floci-io/floci/issues/2625)) ([bf6c7b0](https://github.com/floci-io/floci/commit/bf6c7b001cbe0c9ec642f34e3a54b8e231d94175)), closes [#2624](https://github.com/floci-io/floci/issues/2624)
* **dynamodb:** reject LSI KeySchema with other than one sort key ([#2476](https://github.com/floci-io/floci/issues/2476)) ([0397826](https://github.com/floci-io/floci/commit/0397826b9087604207464b9dfbcb663475837ba0)), closes [#2459](https://github.com/floci-io/floci/issues/2459)
* **dynamodb:** return LastEvaluatedKey when Limit stops exactly at the last item ([#2389](https://github.com/floci-io/floci/issues/2389)) ([41ff13e](https://github.com/floci-io/floci/commit/41ff13e66d0fde2b3619648bdf80161e478bde2b)), closes [#2383](https://github.com/floci-io/floci/issues/2383)
* **dynamodb:** stop getSortKeyNames() from corrupting persisted tables ([#2463](https://github.com/floci-io/floci/issues/2463)) ([726c9c7](https://github.com/floci-io/floci/commit/726c9c7446b8b2755586d4c2465f2b981d2b45b9)), closes [#2415](https://github.com/floci-io/floci/issues/2415)
* **dynamodb:** tolerate whitespace before a function's own parenthesis ([#2510](https://github.com/floci-io/floci/issues/2510)) ([e4b101d](https://github.com/floci-io/floci/commit/e4b101d5dab2de9f48755f8a80705db9f15c9f70)), closes [#2509](https://github.com/floci-io/floci/issues/2509)
* **dynamodb:** validate cursor key types ([#2470](https://github.com/floci-io/floci/issues/2470)) ([e3df59a](https://github.com/floci-io/floci/commit/e3df59ae1f7e5ffe0a1fe8da6d8669b2e996e735)), closes [#2468](https://github.com/floci-io/floci/issues/2468)
* **dynamodb:** validate index access paths ([#2278](https://github.com/floci-io/floci/issues/2278)) ([30f965d](https://github.com/floci-io/floci/commit/30f965d0563daac32d27e43caab2804089e5d1a3))
* **dynamodb:** validate query key types ([#2469](https://github.com/floci-io/floci/issues/2469)) ([a57c6c8](https://github.com/floci-io/floci/commit/a57c6c8112cd2547eeedcd95dd111fa7bbaca5e2)), closes [#2467](https://github.com/floci-io/floci/issues/2467)
* **ec2:** apply availability-zone filter in DescribeInstances ([#2543](https://github.com/floci-io/floci/issues/2543)) ([3bdcd5b](https://github.com/floci-io/floci/commit/3bdcd5b84fb2d517b4a440cccc907b7ffe2f9556)), closes [#2542](https://github.com/floci-io/floci/issues/2542)
* **ec2:** canonicalize IPv4 route destinations at the API boundary ([#2620](https://github.com/floci-io/floci/issues/2620)) ([8f76e13](https://github.com/floci-io/floci/commit/8f76e13dd69ae8189cdc2227042e1e0629d01c40)), closes [Ec2ServicePersistenceTest#legacyNonCanonicalRouteDestinationCanonicalizesOnRestart](https://github.com/Ec2ServicePersistenceTest/issues/legacyNonCanonicalRouteDestinationCanonicalizesOnRestart)
* **ec2:** create /run/sshd before starting sshd ([#1855](https://github.com/floci-io/floci/issues/1855)) ([3daab4a](https://github.com/floci-io/floci/commit/3daab4a1aec6a518f8b3837131212136926b961c))
* **ec2:** derive default vpc/subnet/sg ids per region ([#2384](https://github.com/floci-io/floci/issues/2384)) ([337dead](https://github.com/floci-io/floci/commit/337dead734f292e3fb9b2f898ab69a926f4693fc)), closes [Ec2ServiceTest#defaultVpcSubnetAndSecurityGroupIdsAreRegionScoped](https://github.com/Ec2ServiceTest/issues/defaultVpcSubnetAndSecurityGroupIdsAreRegionScoped) [lex00/floci#21](https://github.com/lex00/floci/issues/21) [pre-#21](https://github.com/pre-/issues/21) [pre-#21](https://github.com/pre-/issues/21) [#21](https://github.com/floci-io/floci/issues/21) [#21](https://github.com/floci-io/floci/issues/21) [floci-io/floci#21](https://github.com/floci-io/floci/issues/21)
* **ec2:** honour documented Describe* filters and stop ENIs inheriting instance tags ([#2747](https://github.com/floci-io/floci/issues/2747)) ([26ae4ef](https://github.com/floci-io/floci/commit/26ae4ef78acdf990d7123efbf7cc0c6341b3ecb6))
* **ec2:** install packages with yum on Amazon Linux 2 guests ([#2448](https://github.com/floci-io/floci/issues/2448)) ([c9f456e](https://github.com/floci-io/floci/commit/c9f456ea7a0f0fa4ba0ec5e667a9ba5aad0e8fa9)), closes [#2449](https://github.com/floci-io/floci/issues/2449)
* **ec2:** install the SSH client package in guests, not just the server ([#2449](https://github.com/floci-io/floci/issues/2449)) ([f3029ee](https://github.com/floci-io/floci/commit/f3029ee2511d9992381203dc89ed7dc0a364c9ce))
* **ec2:** reject a duplicate route destination with RouteAlreadyExists ([#2546](https://github.com/floci-io/floci/issues/2546)) ([1be97c9](https://github.com/floci-io/floci/commit/1be97c93332de48072dc43ab01f61ea79c4cbe3a))
* **ec2:** report a reachable EIP address, and run gzipped user-data ([#2621](https://github.com/floci-io/floci/issues/2621)) ([41b5148](https://github.com/floci-io/floci/commit/41b5148824e4c481f5949506a08c8e1b68d215b4))
* **ec2:** retry Docker port collisions ([#2029](https://github.com/floci-io/floci/issues/2029)) ([b27b32f](https://github.com/floci-io/floci/commit/b27b32f044da00fa6da20f01e2d39bce2c45c6a6))
* **ec2:** round-trip launch template data instead of discarding it ([#2595](https://github.com/floci-io/floci/issues/2595)) ([f1ad306](https://github.com/floci-io/floci/commit/f1ad306599a3efb643ff60ae0ca8df0d96a26888)), closes [Ec2ServicePersistenceTest#legacyIamProfileAndInstanceTagsSurviveRestart](https://github.com/Ec2ServicePersistenceTest/issues/legacyIamProfileAndInstanceTagsSurviveRestart)
* **ec2:** store and report a route's IPv6 destination, and stop DeleteRoute NPEing ([#2492](https://github.com/floci-io/floci/issues/2492)) ([e18a262](https://github.com/floci-io/floci/commit/e18a262261fc2fb5cb8cfd91c0198999b610886d))
* **ecs:** apply cluster settings given on CreateCluster ([#2845](https://github.com/floci-io/floci/issues/2845)) ([19013b8](https://github.com/floci-io/floci/commit/19013b8b63aa8b60ee31f78ea4875c2af7d66a36)), closes [#2806](https://github.com/floci-io/floci/issues/2806)
* **ecs:** report schedulingStrategy, deploymentController and availabilityZoneRebalancing on services ([#2482](https://github.com/floci-io/floci/issues/2482)) ([13664e7](https://github.com/floci-io/floci/commit/13664e76935b14a881d60611a000d363e419d37d))
* **ecs:** roll service tasks onto a changed task definition ([#2483](https://github.com/floci-io/floci/issues/2483)) ([f3b22e7](https://github.com/floci-io/floci/commit/f3b22e7964c342517fd279e479fa493a6d80f38c))
* **ecs:** round-trip command and entryPoint on container definitions ([#2446](https://github.com/floci-io/floci/issues/2446)) ([5c45c14](https://github.com/floci-io/floci/commit/5c45c146c7fe51a4ed9472dfd90be5be57d53cd4)), closes [#2445](https://github.com/floci-io/floci/issues/2445)
* **ecs:** round-trip runtimePlatform and logConfiguration on task definitions ([#2443](https://github.com/floci-io/floci/issues/2443)) ([a2389e7](https://github.com/floci-io/floci/commit/a2389e7733249102c9736cfb3698cf409f41bc4b))
* **ecs:** scope service tasks by owning service, not by caller-supplied group ([#2731](https://github.com/floci-io/floci/issues/2731)) ([c6b9e4c](https://github.com/floci-io/floci/commit/c6b9e4c34e2ac003254511ce59baf8533e8921b0)), closes [#2716](https://github.com/floci-io/floci/issues/2716)
* **eks:** implement cluster restoration after restart to maintain state ([#2780](https://github.com/floci-io/floci/issues/2780)) ([eaecb36](https://github.com/floci-io/floci/commit/eaecb36425983dbd7fc61ec73ad7e023bbd0958d))
* **elasticache:** keep a replication group's encryption, snapshot settings, tags and ARN ([#2632](https://github.com/floci-io/floci/issues/2632)) ([75f8f42](https://github.com/floci-io/floci/commit/75f8f42d5fbdb5e075e48eea9f18b8cffd2675ac)), closes [#2615](https://github.com/floci-io/floci/issues/2615)
* **elasticache:** report transit encryption, not the auth-token flag ([#2844](https://github.com/floci-io/floci/issues/2844)) ([90d1a19](https://github.com/floci-io/floci/commit/90d1a19310221d674d15f4f87b6a3c7cc81dc25e))
* **elasticache:** return the modeled capacity fault on proxy-port exhaustion ([#2423](https://github.com/floci-io/floci/issues/2423)) ([f40d2e3](https://github.com/floci-io/floci/commit/f40d2e34f3e6fc80bce6878916d4d58a47dd5eb1))
* **elb:** route Classic (v1) requests to a dedicated handler instead of ELBv2 ([#2619](https://github.com/floci-io/floci/issues/2619)) ([afe26c6](https://github.com/floci-io/floci/commit/afe26c6ad17953fecc3452e30f0978c06bc134c1))
* **eventbridge:** AWS-conformant InputTransformer from CloudFormation and PutTargets ([#1885](https://github.com/floci-io/floci/issues/1885)) ([9b3aee6](https://github.com/floci-io/floci/commit/9b3aee6a030575bf688d5ba55686994314c9c5a6))
* **eventbridge:** return 400 for missing resources ([#2553](https://github.com/floci-io/floci/issues/2553)) ([4083d06](https://github.com/floci-io/floci/commit/4083d0667d883426a3d220cf5d822b3637181041))
* **firehose:** use request region in delivery stream ARN ([#2719](https://github.com/floci-io/floci/issues/2719)) ([47e0647](https://github.com/floci-io/floci/commit/47e064786f0c227591fcc4f3b7344320cd6f5f1a))
* **iam:** correct GetAccountSummary provider and access-key counts ([#2426](https://github.com/floci-io/floci/issues/2426)) ([17e77ba](https://github.com/floci-io/floci/commit/17e77ba9d31e6a3e05a27b9cf7441aa60aef86e7))
* **iam:** implement UpdateAccountPasswordPolicy, Get and Delete ([#2616](https://github.com/floci-io/floci/issues/2616)) ([f411a31](https://github.com/floci-io/floci/commit/f411a316a2e8dc6ae6f5555b07c9a46f1c1fe75a))
* inject AWS SDK environment into Flink sidecars ([#2486](https://github.com/floci-io/floci/issues/2486)) ([127e51e](https://github.com/floci-io/floci/commit/127e51e71b0a429de94166e856fc91d78673747d)), closes [#2404](https://github.com/floci-io/floci/issues/2404)
* **kinesis-cbor:** timestamps mis-scaled 1000x on the CBOR path ([#2432](https://github.com/floci-io/floci/issues/2432)) ([39ed771](https://github.com/floci-io/floci/commit/39ed7712a7194322b6cfa38fc5aba3dbe91f4520)), closes [#2368](https://github.com/floci-io/floci/issues/2368)
* **kinesis:** apply CreateStream's Tags instead of dropping them ([#2494](https://github.com/floci-io/floci/issues/2494)) ([564dbf2](https://github.com/floci-io/floci/commit/564dbf204f36ad25e59add7588ebb7df6708e8e8))
* **kinesis:** reject non-blob Data instead of coercing it with asText ([#2551](https://github.com/floci-io/floci/issues/2551)) ([df5581e](https://github.com/floci-io/floci/commit/df5581e5bd7fb592e062b3511dd30f0bb5fb866f)), closes [#2516](https://github.com/floci-io/floci/issues/2516)
* **kms:** grant fidelity ([#2639](https://github.com/floci-io/floci/issues/2639)) ([5400204](https://github.com/floci-io/floci/commit/54002045635852b3cc5fbdcafcc9ff8d1ca71361))
* **lambda:** delete only the named version when DeleteFunction has a Qualifier ([#2824](https://github.com/floci-io/floci/issues/2824)) ([ca4c84c](https://github.com/floci-io/floci/commit/ca4c84c9e0f04a951410c872e73d5265853965b7)), closes [#2819](https://github.com/floci-io/floci/issues/2819)
* **lambda:** honour ListLayers and ListLayerVersions query parameters ([#2817](https://github.com/floci-io/floci/issues/2817)) ([4462963](https://github.com/floci-io/floci/commit/44629631ca1e38836aa6d3405d4cc30a8f45c1fc)), closes [#2808](https://github.com/floci-io/floci/issues/2808)
* **lambda:** honour Publish on CreateFunction and UpdateFunctionCode ([#2825](https://github.com/floci-io/floci/issues/2825)) ([a7b2b79](https://github.com/floci-io/floci/commit/a7b2b794929f9f79a8f31fa374b3bafe06d89097)), closes [#2820](https://github.com/floci-io/floci/issues/2820)
* **lambda:** implement GetLayerVersionByArn ([#2812](https://github.com/floci-io/floci/issues/2812)) ([5b363ff](https://github.com/floci-io/floci/commit/5b363ffa2dd25beadd1cea3b24bea1ce9ddf1128))
* **lambda:** make the code-volume populate concurrency configurable ([#2830](https://github.com/floci-io/floci/issues/2830)) ([968ff78](https://github.com/floci-io/floci/commit/968ff78e252945f651b7ca105dfdb840bedd3159)), closes [#2050](https://github.com/floci-io/floci/issues/2050)
* **lambda:** read deployment packages via the zip central directory ([#2649](https://github.com/floci-io/floci/issues/2649)) ([cd3f367](https://github.com/floci-io/floci/commit/cd3f3677f8e82ba8664368d162ad671da646c1fc)), closes [#2593](https://github.com/floci-io/floci/issues/2593) [#1215](https://github.com/floci-io/floci/issues/1215)
* **lambda:** replace the extracted package instead of merging into it ([#2672](https://github.com/floci-io/floci/issues/2672)) ([e4c6903](https://github.com/floci-io/floci/commit/e4c690351f724223ef9c86192039a712c8bddaac)), closes [#2647](https://github.com/floci-io/floci/issues/2647)
* **lambda:** resolve ARN and function URL invocations in owning account ([#2414](https://github.com/floci-io/floci/issues/2414)) ([c22652d](https://github.com/floci-io/floci/commit/c22652dd15604e5332dba8c462b1394b101cc81f))
* **lambda:** resolve launched-container placeholder creds to the owning account ([#2657](https://github.com/floci-io/floci/issues/2657)) ([be89286](https://github.com/floci-io/floci/commit/be892864db40af1ec7b6c09a21e84ea8434999ab))
* **lambda:** return VpcConfig, SnapStart and LoggingConfig from every read path ([#2527](https://github.com/floci-io/floci/issues/2527)) ([94795dd](https://github.com/floci-io/floci/commit/94795dd67b695b0e06377299d31b5559466f2a5e)), closes [-_/#A-Za-z0-9](https://github.com/floci-io/floci/issues/A-Za-z0-9)
* **lambda:** round-trip StartingPosition on event source mappings ([#2370](https://github.com/floci-io/floci/issues/2370)) ([151e3fc](https://github.com/floci-io/floci/commit/151e3fcc7a4a5cfd6ee663ecb928c48e720f4ceb))
* **lambda:** serialize resource policy mutations ([#2430](https://github.com/floci-io/floci/issues/2430)) ([2314c85](https://github.com/floci-io/floci/commit/2314c85b620b23a5850b633d41a68c7a4fcf0b6e))
* **lifecycle:** run start/ready hooks when FLOCI_PORT is non-default ([#2439](https://github.com/floci-io/floci/issues/2439)) ([ba97c08](https://github.com/floci-io/floci/commit/ba97c084eb51c7149fadbfcca5f7b9439583a77a)), closes [#2437](https://github.com/floci-io/floci/issues/2437)
* **memorydb,neptune,docdb:** degrade gracefully with no Docker daemon ([#2386](https://github.com/floci-io/floci/issues/2386)) ([65b22ff](https://github.com/floci-io/floci/commit/65b22ff01e3fcb24d4024c18ed3557e086a567b5)), closes [lex00/floci#44](https://github.com/lex00/floci/issues/44)
* **msk:** accept an empty serverProperties on Create/UpdateConfiguration ([#2491](https://github.com/floci-io/floci/issues/2491)) ([fcd662f](https://github.com/floci-io/floci/commit/fcd662fb623531a6e98b15f5aa44b7eb0768cf05))
* **msk:** persist CreateCluster broker node groups, encryption, client auth, logging, configuration and tags ([#2366](https://github.com/floci-io/floci/issues/2366)) ([0205e4e](https://github.com/floci-io/floci/commit/0205e4ed7efe267ade3a95c0af8be9f23fbe93b5)), closes [#2571](https://github.com/floci-io/floci/issues/2571)
* **msk:** reject numberOfBrokerNodes values that only look whole after double rounding ([#2571](https://github.com/floci-io/floci/issues/2571)) ([bd436ee](https://github.com/floci-io/floci/commit/bd436eeea1d6e75a6caec0aa684408f757b66901)), closes [MskService#validateCreateRequest](https://github.com/MskService/issues/validateCreateRequest)
* **msk:** return BadRequestException when a configuration ARN does not exist ([#2572](https://github.com/floci-io/floci/issues/2572)) ([247bd59](https://github.com/floci-io/floci/commit/247bd590bcb9bbf3c91366423d69527071818140)), closes [MskService#describeConfiguration](https://github.com/MskService/issues/describeConfiguration)
* **opensearch:** address spawned domain containers by IP, not name ([#2746](https://github.com/floci-io/floci/issues/2746)) ([fcc6067](https://github.com/floci-io/floci/commit/fcc606799c06802302b64ba3d871250886c0bb44))
* preserve Firehose compression format in CloudFormation ([#2406](https://github.com/floci-io/floci/issues/2406)) ([ebd4a07](https://github.com/floci-io/floci/commit/ebd4a078d39198d8a2bdc06420ad73ab21aca100))
* preserve Route 53 private hosted-zone VPC associations ([#2342](https://github.com/floci-io/floci/issues/2342)) ([967ea84](https://github.com/floci-io/floci/commit/967ea843a0b3706143c27e6dfc142d0b21a3d7cc)), closes [#2294](https://github.com/floci-io/floci/issues/2294)
* **rds,docdb:** list DocumentDB clusters and instances in the RDS-family list form ([#2623](https://github.com/floci-io/floci/issues/2623)) ([3b0e31b](https://github.com/floci-io/floci/commit/3b0e31b8880fb1439f5b475280621da8ecc4ee89)), closes [#2613](https://github.com/floci-io/floci/issues/2613) [#1829](https://github.com/floci-io/floci/issues/1829)
* **rds,firehose,cognito:** match AWS's real defaults so a second terraform plan reports no changes ([#2420](https://github.com/floci-io/floci/issues/2420)) ([5ed3a8c](https://github.com/floci-io/floci/commit/5ed3a8cad97fd1ffe1046f6a73c91b4826689697)), closes [FirehoseService#mergeDestination](https://github.com/FirehoseService/issues/mergeDestination)
* **rds:** clear CLIENT_SSL before forwarding the TLS-terminated handshake response to the backend ([#2698](https://github.com/floci-io/floci/issues/2698)) ([0090739](https://github.com/floci-io/floci/commit/009073961725a3881646331ef026903151e03f32))
* **rds:** grant the MySQL/MariaDB master user RDS-master-equivalent privileges ([#2679](https://github.com/floci-io/floci/issues/2679)) ([6c96f47](https://github.com/floci-io/floci/commit/6c96f47f7350cf86bdb5bc47db693de9f93bef27))
* **rds:** keep the tags given to CreateDBSubnetGroup ([#2627](https://github.com/floci-io/floci/issues/2627)) ([20ecb89](https://github.com/floci-io/floci/commit/20ecb89155674e34168b76c811c0deb00da3933d)), closes [#2612](https://github.com/floci-io/floci/issues/2612)
* **rds:** propagate ModifyDBCluster master-password rotations to the backend and every proxy ([#2727](https://github.com/floci-io/floci/issues/2727)) ([895b59f](https://github.com/floci-io/floci/commit/895b59f1eeaf1824de77578469b6520f6a72a2b2)), closes [#2709](https://github.com/floci-io/floci/issues/2709)
* **rds:** propagate ModifyDBInstance master-password rotations to the backend and proxy ([#2709](https://github.com/floci-io/floci/issues/2709)) ([09a05c2](https://github.com/floci-io/floci/commit/09a05c2d77f87a8b04454ae11eda23ea6705f76e))
* **rds:** reject a duplicate create while provisioning is in flight ([#2525](https://github.com/floci-io/floci/issues/2525)) ([7ef698c](https://github.com/floci-io/floci/commit/7ef698c1f408cb0b449c493ab1951eb984d15068)), closes [#2051](https://github.com/floci-io/floci/issues/2051)
* **rds:** store and return the encryption and backup settings given on create ([#2617](https://github.com/floci-io/floci/issues/2617)) ([5033ace](https://github.com/floci-io/floci/commit/5033ace77233db320733228b544b1fd48acce93f)), closes [#2611](https://github.com/floci-io/floci/issues/2611)
* repair main CI (AslExecutor test compilation, Redshift compat test endpoint) ([#2726](https://github.com/floci-io/floci/issues/2726)) ([477e8ae](https://github.com/floci-io/floci/commit/477e8ae7b9106329213b3ee4a1c2109d44b91fa9)), closes [#2703](https://github.com/floci-io/floci/issues/2703) [#2688](https://github.com/floci-io/floci/issues/2688)
* **s3:** accept the log-delivery-write canned ACL ([#2653](https://github.com/floci-io/floci/issues/2653)) ([2a014d2](https://github.com/floci-io/floci/commit/2a014d2add67fb7b243bbf7d1d8021f09b53d1ab))
* **s3:** emit post events for browser uploads ([#2577](https://github.com/floci-io/floci/issues/2577)) ([d8ef1c8](https://github.com/floci-io/floci/commit/d8ef1c8d7b91c7cda9629834f1315eac6de7d90f))
* **s3:** prevent compliance retention downgrade ([#2755](https://github.com/floci-io/floci/issues/2755)) ([2e5935d](https://github.com/floci-io/floci/commit/2e5935d7641a9f0920e8ae7f46db8eab46d6679e))
* **s3:** resolve virtual-hosted buckets whose names contain dots ([#2493](https://github.com/floci-io/floci/issues/2493)) ([ea2b62f](https://github.com/floci-io/floci/commit/ea2b62fb955e7eef3b9b8c46f0b604d4da9703b7))
* **s3:** return x-amz-version-id from presigned POST ([#2608](https://github.com/floci-io/floci/issues/2608)) ([066e6c9](https://github.com/floci-io/floci/commit/066e6c904b4c623b56f14ee01f5a8e44e7fe684f)), closes [#2607](https://github.com/floci-io/floci/issues/2607)
* **s3:** route the replication subresource instead of falling through ([#2519](https://github.com/floci-io/floci/issues/2519)) ([ce4f6d1](https://github.com/floci-io/floci/commit/ce4f6d1c48ed87f72a7906f7ca5d70b52dc8a31a)), closes [#2296](https://github.com/floci-io/floci/issues/2296)
* **secretsmanager,rds:** rotate secrets that an AWS service manages ([#2378](https://github.com/floci-io/floci/issues/2378)) ([23015a7](https://github.com/floci-io/floci/commit/23015a747568e4bffcc7d595573371d9254bbfe1))
* **secretsmanager:** raise InvalidRequestException, not ResourceNotFoundException, for pending-deletion secrets ([#2514](https://github.com/floci-io/floci/issues/2514)) ([fd78ae4](https://github.com/floci-io/floci/commit/fd78ae4f4b474028f4056a5ab69b445051c74480)), closes [#2513](https://github.com/floci-io/floci/issues/2513)
* **secretsmanager:** stop CreateSecret overwriting a secret inside its recovery window ([#2555](https://github.com/floci-io/floci/issues/2555)) ([1e443ac](https://github.com/floci-io/floci/commit/1e443acd0614d57c6cc409a143bc27e60de2f142)), closes [#2549](https://github.com/floci-io/floci/issues/2549)
* **security:** reject unregistered SigV4 access keys and unbound usernames ([#2680](https://github.com/floci-io/floci/issues/2680)) ([f9d28c9](https://github.com/floci-io/floci/commit/f9d28c9649753e527b53512b72a19256c78176ec)), closes [#2657](https://github.com/floci-io/floci/issues/2657)
* serialize Kinesis stream creation timestamps as plain decimals ([#2173](https://github.com/floci-io/floci/issues/2173)) ([c335086](https://github.com/floci-io/floci/commit/c33508651ea14f54002393eefa887b4f173b0df9)), closes [#2099](https://github.com/floci-io/floci/issues/2099)
* **ses:** enforce full AWS tag validation across all SES resources ([#2504](https://github.com/floci-io/floci/issues/2504)) ([29f6e7a](https://github.com/floci-io/floci/commit/29f6e7ac6b56d45cec36042b4864be8a79ec99e2))
* **ses:** reject non-string tag members with SerializationException ([#2512](https://github.com/floci-io/floci/issues/2512)) ([60dd795](https://github.com/floci-io/floci/commit/60dd7957036ea2345acbff9ac8d8d0951c88f122))
* **ses:** report the sending account in send-event payloads ([#2499](https://github.com/floci-io/floci/issues/2499)) ([bd36b02](https://github.com/floci-io/floci/commit/bd36b02728aa8e4c00cb64cad582f425bde20256))
* **ses:** return DeliveryOptions from v1 DescribeConfigurationSet ([#2841](https://github.com/floci-io/floci/issues/2841)) ([7473c57](https://github.com/floci-io/floci/commit/7473c57720840d76668866f08dd4db757d6a8eb2))
* **signin:** preserve AWS token error modes ([#2554](https://github.com/floci-io/floci/issues/2554)) ([399bf20](https://github.com/floci-io/floci/commit/399bf203872d0c59a7bb904cf0df5acadde229be))
* **ssm:** stop re-reading shared mutable state in the command status rollup ([#2477](https://github.com/floci-io/floci/issues/2477)) ([6f1ce9b](https://github.com/floci-io/floci/commit/6f1ce9b23f68cbdca791d394035603dee7672f17)), closes [#2264](https://github.com/floci-io/floci/issues/2264) [#2264](https://github.com/floci-io/floci/issues/2264)
* **ssm:** validate SettingValue and require an account list on ModifyDocumentPermission ([#2635](https://github.com/floci-io/floci/issues/2635)) ([149ac63](https://github.com/floci-io/floci/commit/149ac635f22ea9b3de343d9e13fb8bb213c4642e))
* **stepfunctions:** bound $range allocation at the AWS memory limit ([#2790](https://github.com/floci-io/floci/issues/2790)) ([f7f16cd](https://github.com/floci-io/floci/commit/f7f16cd2a3e72882fc8fcc2c4e80cf2b9f1c827a)), closes [#2738](https://github.com/floci-io/floci/issues/2738) [#2737](https://github.com/floci-io/floci/issues/2737)
* **stepfunctions:** bound a running execution the four ways AWS does ([#2782](https://github.com/floci-io/floci/issues/2782)) ([9288769](https://github.com/floci-io/floci/commit/92887696074b7e709c4f103cf86bb0b4561c742e)), closes [#2733](https://github.com/floci-io/floci/issues/2733)
* **stepfunctions:** bound JSONata evaluation by time and depth ([#2697](https://github.com/floci-io/floci/issues/2697)) ([3954018](https://github.com/floci-io/floci/commit/395401807b4a6a10586fe963c9ba79be49ba365a)), closes [Frame#setRuntimeBounds](https://github.com/Frame/issues/setRuntimeBounds) [#2667](https://github.com/floci-io/floci/issues/2667)
* **stepfunctions:** end the execution when a state throws an Error ([#2693](https://github.com/floci-io/floci/issues/2693)) ([acf8879](https://github.com/floci-io/floci/commit/acf88794ca4e08a5ce26080e33a4e18d081bf99e)), closes [#2666](https://github.com/floci-io/floci/issues/2666)
* **stepfunctions:** fail the state when a JSONata expression returns nothing ([#2689](https://github.com/floci-io/floci/issues/2689)) ([ea11e67](https://github.com/floci-io/floci/commit/ea11e6771948d2d21520feb2393d9356d95ba8b6)), closes [#2665](https://github.com/floci-io/floci/issues/2665)
* **stepfunctions:** keep a JSONata expression's explicit null in the output ([#2684](https://github.com/floci-io/floci/issues/2684)) ([48e0ecd](https://github.com/floci-io/floci/commit/48e0ecd809026b79f7b296e365268368dd31e48a)), closes [#2664](https://github.com/floci-io/floci/issues/2664) [#2665](https://github.com/floci-io/floci/issues/2665)
* **stepfunctions:** let a mocked response with no attempts start the execution ([#2823](https://github.com/floci-io/floci/issues/2823)) ([63a2a60](https://github.com/floci-io/floci/commit/63a2a60a3001bec613b297c39771b1f8479cb789)), closes [#2523](https://github.com/floci-io/floci/issues/2523)
* **stepfunctions:** refuse the definitions AWS refuses, at both validation entry points ([#2786](https://github.com/floci-io/floci/issues/2786)) ([ead70ea](https://github.com/floci-io/floci/commit/ead70eae4dae927668332964b674a96f01be4418))
* **stepfunctions:** resolve the substitutions in a JSONata error cause ([#2687](https://github.com/floci-io/floci/issues/2687)) ([09d813d](https://github.com/floci-io/floci/commit/09d813d13fc7b1f0bc087c0de57222b61607dc03)), closes [#2668](https://github.com/floci-io/floci/issues/2668)
* **stepfunctions:** write a large whole number in full in $string ([#2683](https://github.com/floci-io/floci/issues/2683)) ([2a7ee7a](https://github.com/floci-io/floci/commit/2a7ee7a605800dca7e81ee9f9c144cf6db62446f)), closes [#2669](https://github.com/floci-io/floci/issues/2669)
* **ui:** reconnect the UI sidecar without restarting Floci ([#2718](https://github.com/floci-io/floci/issues/2718)) ([02f9754](https://github.com/floci-io/floci/commit/02f9754ac774963dfd3ce1945f9be00dcf9805e7)), closes [HI#severity](https://github.com/HI/issues/severity)
* update .gitignore to include .mission/ for shared tooling visibility ([#2750](https://github.com/floci-io/floci/issues/2750)) ([2bc3736](https://github.com/floci-io/floci/commit/2bc37365dc01b09b7eb3bf3540718023b375f710))

### Features

* **acm:** certificate validation records and revocation ([#2655](https://github.com/floci-io/floci/issues/2655)) ([3bd9bcc](https://github.com/floci-io/floci/commit/3bd9bcc62b4f1bd9a1c183863ab60360cdd0104b))
* **apigateway:** API key import/usage-plan fidelity and update-operation fixes ([#2631](https://github.com/floci-io/floci/issues/2631)) ([9b9e7f5](https://github.com/floci-io/floci/commit/9b9e7f56a2896bc00fd97f7a8ebd8c49561874b5))
* **apigatewayv2:** OpenAPI import and Terraform-visible API/stage attributes ([#2714](https://github.com/floci-io/floci/issues/2714)) ([881695e](https://github.com/floci-io/floci/commit/881695ea3b1c35e19ad621099f0e041e6d0bee0b))
* **apigatewayv2:** support custom domain names and API mappings ([#2390](https://github.com/floci-io/floci/issues/2390)) ([74da157](https://github.com/floci-io/floci/commit/74da157681dc98af183d3d3704f3f5c3853071f1))
* **applicationautoscaling:** evaluate target-tracking and step-scaling policies against ECS ([#2692](https://github.com/floci-io/floci/issues/2692)) ([2a7c94b](https://github.com/floci-io/floci/commit/2a7c94b04d1f797335c2bd87fcb9ab3730df21ff)), closes [#2565](https://github.com/floci-io/floci/issues/2565)
* **appsync:** Phase 7 — GraphQL execute authentication ([#2380](https://github.com/floci-io/floci/issues/2380)) ([3f12428](https://github.com/floci-io/floci/commit/3f12428d9737584b875ce380874ca2fd49a216f0))
* **aps:** add Amazon Managed Service for Prometheus workspaces ([#2604](https://github.com/floci-io/floci/issues/2604)) ([277809f](https://github.com/floci-io/floci/commit/277809fb416d00dbda8b295bb5b5ffbe5dd86f1e))
* **autoscaling:** P0 operations and lifecycle-hook delete-by-name ([#2673](https://github.com/floci-io/floci/issues/2673)) ([e9a379b](https://github.com/floci-io/floci/commit/e9a379b37a3627cb8e0a3dc752687562e6b00a73))
* **batch:** add update and delete job queue endpoints with corresponding service logic ([#2807](https://github.com/floci-io/floci/issues/2807)) ([6f123e8](https://github.com/floci-io/floci/commit/6f123e83b8cb2aba087fe8c0a3e8c6cfc7f74c66))
* **cloudformation:** apply security-group rules — inline properties and standalone resources ([#1993](https://github.com/floci-io/floci/issues/1993)) ([1461a10](https://github.com/floci-io/floci/commit/1461a10de7b23e03ce6514ba8567c31964a94ee6)), closes [#1992](https://github.com/floci-io/floci/issues/1992)
* **cloudformation:** CDK Provider-framework custom resources and changeset/SSM param fidelity ([#2688](https://github.com/floci-io/floci/issues/2688)) ([08e532a](https://github.com/floci-io/floci/commit/08e532ab1af8ada89ac3c663a55d3069bbcef662)), closes [#2455](https://github.com/floci-io/floci/issues/2455) [#2455](https://github.com/floci-io/floci/issues/2455) [#2666](https://github.com/floci-io/floci/issues/2666)
* **cloudformation:** CodeBuild/CodePipeline CFN provisioning ([#2685](https://github.com/floci-io/floci/issues/2685)) ([ac94232](https://github.com/floci-io/floci/commit/ac94232910e4ac6aeca5e3652cd510823785bd87))
* **cloudformation:** expand SAM AWS::Serverless::HttpApi to ApiGatew… ([#1956](https://github.com/floci-io/floci/issues/1956)) ([6fa53ab](https://github.com/floci-io/floci/commit/6fa53abd7cd9db183addee8d0bd2a80c38449e20))
* **cloudformation:** provision WAFv2 web ACLs and AWS Config rules ([#2701](https://github.com/floci-io/floci/issues/2701)) ([8a705d0](https://github.com/floci-io/floci/commit/8a705d0aae7a64d831ec57bdaa89802c5e441c76)), closes [CloudFormationTemplateEngine#resolveNode](https://github.com/CloudFormationTemplateEngine/issues/resolveNode)
* **cloudfront:** apply response-headers policies when serving ([#1833](https://github.com/floci-io/floci/issues/1833)) ([520c0f4](https://github.com/floci-io/floci/commit/520c0f4da29313978302852f44a11e94f171e740)), closes [#1820](https://github.com/floci-io/floci/issues/1820) [#1823](https://github.com/floci-io/floci/issues/1823)
* **cloudfront:** forward origin custom headers ([#1832](https://github.com/floci-io/floci/issues/1832)) ([f2ad05c](https://github.com/floci-io/floci/commit/f2ad05ce22e34e413177aa5884400cb83adcc925)), closes [#1820](https://github.com/floci-io/floci/issues/1820) [#1823](https://github.com/floci-io/floci/issues/1823)
* **cloudwatch-logs:** add resource policy actions ([#2574](https://github.com/floci-io/floci/issues/2574)) ([859db2f](https://github.com/floci-io/floci/commit/859db2f35223a1d4082dac30a757a2e0d3a77ee7))
* **cloudwatch:** Adds support for orderBy, pagination, limit in DescribeLogStreams response ([#2362](https://github.com/floci-io/floci/issues/2362)) ([846e78d](https://github.com/floci-io/floci/commit/846e78db12a2dae80489bdad86e65297a94da183))
* **codegurureviewer:** repository association lifecycle with tagging ([#2741](https://github.com/floci-io/floci/issues/2741)) ([0b46d80](https://github.com/floci-io/floci/commit/0b46d804c04b01f0d72303f8bcd7ae7907e9b98a))
* **codepipeline:** validate ListPipelineExecutions filters and PutApprovalResult inputs ([#2696](https://github.com/floci-io/floci/issues/2696)) ([a155e66](https://github.com/floci-io/floci/commit/a155e66b153193fc7d7a40d21311ee54cd7fc9d8))
* **cognito:** user pool domain operations (Create/Describe/DeleteUserPoolDomain) ([#2742](https://github.com/floci-io/floci/issues/2742)) ([ed16713](https://github.com/floci-io/floci/commit/ed167135ff63773a88bd1ac8b6bd8b23514941f7))
* **comprehend:** add Amazon Comprehend sync text-analysis actions ([#2674](https://github.com/floci-io/floci/issues/2674)) ([5c1b69c](https://github.com/floci-io/floci/commit/5c1b69c45f7b1dfa727f483ac31aa0eef695cc72)), closes [#2660](https://github.com/floci-io/floci/issues/2660)
* **config:** compliance evaluation loop, retention, pagination ([#2642](https://github.com/floci-io/floci/issues/2642)) ([1b3417a](https://github.com/floci-io/floci/commit/1b3417a7a3c2e90b2fa8e13a552cdfdb134d8cc0))
* **connect:** instance management (CreateInstance family, attributes, storage configs, tags) ([#2740](https://github.com/floci-io/floci/issues/2740)) ([7b6266e](https://github.com/floci-io/floci/commit/7b6266e902a938ba0cb4bbc0d49657392a2819a9))
* **controltower:** add AWS Control Tower with landing-zone and baseline lifecycle ([#2578](https://github.com/floci-io/floci/issues/2578)) ([4524099](https://github.com/floci-io/floci/commit/45240998ac0fb62a466dadf9278f6f9ef63072e2))
* **core:** add configurable mock responses for stub AI services ([#2765](https://github.com/floci-io/floci/issues/2765)) ([e2e69f6](https://github.com/floci-io/floci/commit/e2e69f65f55be1fc81f891c797008931a788a4f9)), closes [#2764](https://github.com/floci-io/floci/issues/2764)
* **core:** label emulated resource containers with io.floci.* identity ([#2497](https://github.com/floci-io/floci/issues/2497)) ([8247014](https://github.com/floci-io/floci/commit/824701481cfcd7a3c9a4056134898712f0228816)), closes [#1818](https://github.com/floci-io/floci/issues/1818) [#1818](https://github.com/floci-io/floci/issues/1818)
* **docs:** guard the service matrix against undocumented services ([#2465](https://github.com/floci-io/floci/issues/2465)) ([700acc6](https://github.com/floci-io/floci/commit/700acc65c78035da2d4988d07bf74a9b6f490d0a)), closes [#2436](https://github.com/floci-io/floci/issues/2436)
* **ec2:** IPAM with real CIDR allocation, EBS encryption defaults, and transit gateway route export ([#2596](https://github.com/floci-io/floci/issues/2596)) ([9563b7e](https://github.com/floci-io/floci/commit/9563b7ef08e9a8cc45da70190221659cc7ea8781)), closes [#2526](https://github.com/floci-io/floci/issues/2526) [floci-io/floci#2605](https://github.com/floci-io/floci/issues/2605)
* **ec2:** support ModifyVpcEndpoint and persist the endpoint policy ([#2526](https://github.com/floci-io/floci/issues/2526)) ([2e8cbc1](https://github.com/floci-io/floci/commit/2e8cbc13d7293fad19c737a034dc17b839822375)), closes [#2317](https://github.com/floci-io/floci/issues/2317)
* **ec2:** support transit gateway route tables, associations and routes ([#2348](https://github.com/floci-io/floci/issues/2348)) ([bc0f88c](https://github.com/floci-io/floci/commit/bc0f88c9b1df3084cd50e2acbe148f963dfcc803)), closes [#2308](https://github.com/floci-io/floci/issues/2308) [#2329](https://github.com/floci-io/floci/issues/2329)
* **ec2:** support transit gateway VPC attachments ([#2347](https://github.com/floci-io/floci/issues/2347)) ([74e43a4](https://github.com/floci-io/floci/commit/74e43a46320c3b3bff8f328d6a9206a80927b9de)), closes [#2308](https://github.com/floci-io/floci/issues/2308)
* **ecs:** rewrite ECR image URIs on RunTask like Lambda already does ([#2641](https://github.com/floci-io/floci/issues/2641)) ([c405093](https://github.com/floci-io/floci/commit/c4050936a84d29c0874d39519a9d21e17c438a19)), closes [#2568](https://github.com/floci-io/floci/issues/2568)
* **efs:** add Elastic File System (file systems, mount targets, access points) ([#2371](https://github.com/floci-io/floci/issues/2371)) ([943b4c1](https://github.com/floci-io/floci/commit/943b4c1b456c9fb43332ff67f5ed321d778a00f4))
* **elasticache:** support cache parameter groups ([#2392](https://github.com/floci-io/floci/issues/2392)) ([6b62817](https://github.com/floci-io/floci/commit/6b628179f3f39b853cf30369ac2b166bb474cef1))
* **elasticache:** support cache subnet groups ([#2401](https://github.com/floci-io/floci/issues/2401)) ([06d58aa](https://github.com/floci-io/floci/commit/06d58aad36ce35cfe5bac7438bf53003d5a5f63e))
* **elasticache:** support cluster-mode replication groups ([#2633](https://github.com/floci-io/floci/issues/2633)) ([97ff0bc](https://github.com/floci-io/floci/commit/97ff0bc3e9ff0aea77faf188550c0587ee0b451b))
* **emrserverless:** support EMR Serverless applications ([#2403](https://github.com/floci-io/floci/issues/2403)) ([8a673fc](https://github.com/floci-io/floci/commit/8a673fc580f2ef57ec11f4153fe013f584327004))
* **eventbridge:** add Connection API actions ([#1897](https://github.com/floci-io/floci/issues/1897)) ([36a55f5](https://github.com/floci-io/floci/commit/36a55f5060e8eb25e878aa1539d371f9aff03c65))
* **firehose:** add StartDeliveryStreamEncryption and StopDeliveryStreamEncryption ([#2583](https://github.com/floci-io/floci/issues/2583)) ([4affa05](https://github.com/floci-io/floci/commit/4affa05ceab19c02a950801a3c41f3eabcb2ca42))
* **firehose:** deliver records from a Kinesis stream source ([#2528](https://github.com/floci-io/floci/issues/2528)) ([009ac0b](https://github.com/floci-io/floci/commit/009ac0b4a62e2e1fbf799c19800bd02e7c05d36b))
* **firehose:** honor CompressionFormat and FileExtension on S3 delivery ([#2410](https://github.com/floci-io/floci/issues/2410)) ([bba5ffb](https://github.com/floci-io/floci/commit/bba5ffb644c02b3ac5a93502b1c85ab436f8cca8)), closes [#2328](https://github.com/floci-io/floci/issues/2328)
* **fis:** add AWS FIS support ([#2435](https://github.com/floci-io/floci/issues/2435)) ([04d120f](https://github.com/floci-io/floci/commit/04d120fdd5f0927bb14ae83682f4e72a1c7396a7))
* **iam:** enforce SCPs and populate aws:PrincipalArn during policy evaluation ([#2637](https://github.com/floci-io/floci/issues/2637)) ([7188b3e](https://github.com/floci-io/floci/commit/7188b3ec9d1ca52defad1246af525116e9da1c0c)), closes [iam.md#service-control-policies-scps](https://github.com/iam.md/issues/service-control-policies-scps) [iam.md#bypass-rules](https://github.com/iam.md/issues/bypass-rules) [hi#water](https://github.com/hi/issues/water)
* **kinesis:** add PutRecords request caps and a per-stream max record size ([#2438](https://github.com/floci-io/floci/issues/2438)) ([353d9c8](https://github.com/floci-io/floci/commit/353d9c842fa81a0c807466253ce3cb748bd210d6))
* **kinesisanalytics:** emit MSF-style JSON CloudWatch logs from Flink ([#2656](https://github.com/floci-io/floci/issues/2656)) ([aaae992](https://github.com/floci-io/floci/commit/aaae99282f8ee737f587b08da98930a345108f52))
* **lakeformation:** lake formation ([#2427](https://github.com/floci-io/floci/issues/2427)) ([ac6cb06](https://github.com/floci-io/floci/commit/ac6cb06af4f529cfaab7449ceddb6863a652cbb2))
* **lambda:** add the ability to name and label lambda containers, code volumes ([#2409](https://github.com/floci-io/floci/issues/2409)) ([f8b07a7](https://github.com/floci-io/floci/commit/f8b07a78ff2aecbbd5fb71dd8efe71626648b160))
* **lambda:** code-signing endpoints and account settings ([#2646](https://github.com/floci-io/floci/issues/2646)) ([c90c5ad](https://github.com/floci-io/floci/commit/c90c5adfcbc2da8309e02e2d96418a03001ebc01)), closes [#2225](https://github.com/floci-io/floci/issues/2225) [#2206](https://github.com/floci-io/floci/issues/2206) [#1987](https://github.com/floci-io/floci/issues/1987)
* **lambda:** support kubernetes as the lambda runner ([#1941](https://github.com/floci-io/floci/issues/1941)) ([bc13801](https://github.com/floci-io/floci/commit/bc1380112168f3600938695c74cfa3d7e87eff7c))
* **logs:** add AssociateKmsKey and DisassociateKmsKey for log groups ([#2584](https://github.com/floci-io/floci/issues/2584)) ([4435c62](https://github.com/floci-io/floci/commit/4435c6284859ad96d72df327c4d15072499e01e0))
* **msk:** add configuration revision actions ([#2344](https://github.com/floci-io/floci/issues/2344)) ([7505110](https://github.com/floci-io/floci/commit/7505110ed96ba65b663101d08d9bf0764a073e0e)), closes [#2339](https://github.com/floci-io/floci/issues/2339) [#2340](https://github.com/floci-io/floci/issues/2340) [#2299](https://github.com/floci-io/floci/issues/2299) [2336/#2343](https://github.com/floci-io/floci/issues/2343) [#2343](https://github.com/floci-io/floci/issues/2343) [MskService#updateConfiguration](https://github.com/MskService/issues/updateConfiguration) [MskConfiguration#addRevision](https://github.com/MskConfiguration/issues/addRevision)
* **networkfirewall:** emulate AWS Network Firewall ([#2580](https://github.com/floci-io/floci/issues/2580)) ([715bab6](https://github.com/floci-io/floci/commit/715bab68e7d0665012883083cd0837b8327aea1d)), closes [#2579](https://github.com/floci-io/floci/issues/2579)
* **organizations:** add AWS Organizations service ([#2489](https://github.com/floci-io/floci/issues/2489)) ([87e8044](https://github.com/floci-io/floci/commit/87e804492aaa0d87b0bbec94110cfcad84c61f3e))
* **organizations:** add CloudFormation resource types ([#2495](https://github.com/floci-io/floci/issues/2495)) ([054508d](https://github.com/floci-io/floci/commit/054508df87a29fbeb40cd4c6be61f3c5286cda3d))
* **organizations:** add ListAccountsWithInvalidEffectivePolicy ([#2628](https://github.com/floci-io/floci/issues/2628)) ([18521ed](https://github.com/floci-io/floci/commit/18521edf287f8006da3c3dc43e075c03e7e9d7fd))
* **organizations:** add management account email configuration and tests ([#2749](https://github.com/floci-io/floci/issues/2749)) ([89fd37a](https://github.com/floci-io/floci/commit/89fd37a5c43fdbeb173199496823bd8040119369))
* **rds-data:** adding data-api support for lable/name and batch ([#2518](https://github.com/floci-io/floci/issues/2518)) ([a3044e0](https://github.com/floci-io/floci/commit/a3044e065e26e0cdf7b3de2e8ee823923323034e))
* **rds,docdb:** answer DescribeGlobalClusters ([#2402](https://github.com/floci-io/floci/issues/2402)) ([29b0d60](https://github.com/floci-io/floci/commit/29b0d600c6a1398ed44dabdb20620174531fcde5))
* **rds,docdb:** tag DocumentDB clusters and parameter groups ([#2408](https://github.com/floci-io/floci/issues/2408)) ([7b83bd5](https://github.com/floci-io/floci/commit/7b83bd5283f7df7650f94ce591c009061c07c301))
* **rds:** add option group CRUD ([#2352](https://github.com/floci-io/floci/issues/2352)) ([3374bfe](https://github.com/floci-io/floci/commit/3374bfeb0492ac353d001c6fd23465617fe2d42a)), closes [#2304](https://github.com/floci-io/floci/issues/2304)
* **rds:** match proxy TLS cert SAN to the advertised endpoint ([#2603](https://github.com/floci-io/floci/issues/2603)) ([b1d7286](https://github.com/floci-io/floci/commit/b1d7286444e5ad54c51c5d2e83ffe6d9f9a66b60))
* **rds:** model Aurora Serverless v2 scaling configuration on DB clusters ([#1829](https://github.com/floci-io/floci/issues/1829)) ([d778a6e](https://github.com/floci-io/floci/commit/d778a6e393ab455b6ec45e11f1ae001adf837ff0))
* **redshift:** implement Redshift emulation with snapshot and parameter group support ([#2472](https://github.com/floci-io/floci/issues/2472)) ([a1383fd](https://github.com/floci-io/floci/commit/a1383fdd3d1df080cf40fe304905e53eca6b57cb))
* **rekognition:** add Amazon Rekognition sync image-analysis actions ([#2706](https://github.com/floci-io/floci/issues/2706)) ([cf6fede](https://github.com/floci-io/floci/commit/cf6fede45357dd9ae619ea7b062463fe836f61ae)), closes [#2705](https://github.com/floci-io/floci/issues/2705)
* **resourceexplorer2:** add AWS Resource Explorer 2 with cross-service resource discovery ([#2485](https://github.com/floci-io/floci/issues/2485)) ([d3871e1](https://github.com/floci-io/floci/commit/d3871e1f258dd2c85cf5ab97f140a20b51774e1c)), closes [#1583](https://github.com/floci-io/floci/issues/1583) [#1797](https://github.com/floci-io/floci/issues/1797)
* **route53resolver:** add Route 53 Resolver with DNS Firewall domain lists ([#2582](https://github.com/floci-io/floci/issues/2582)) ([d60bd6e](https://github.com/floci-io/floci/commit/d60bd6ead21c5f2e3e51c9ddc2a9435285c356c8)), closes [#2579](https://github.com/floci-io/floci/issues/2579)
* **route53:** VPC association lifecycle actions ([#2638](https://github.com/floci-io/floci/issues/2638)) ([e471946](https://github.com/floci-io/floci/commit/e471946f44318b406c3a470b31c725f9a93ac303))
* **s3:** apply VersioningConfiguration in CloudFormation S3 bucket provisioning ([#2626](https://github.com/floci-io/floci/issues/2626)) ([64c38c7](https://github.com/floci-io/floci/commit/64c38c77b9ee0e7439da069abc8b5d6596518fb7))
* **s3:** opt-in global bucket namespace and replication config ([#2640](https://github.com/floci-io/floci/issues/2640)) ([c96dc98](https://github.com/floci-io/floci/commit/c96dc980653e1fd6df8941622d68ff61e34ffb81)), closes [#2519](https://github.com/floci-io/floci/issues/2519)
* **s3:** support bucket metrics configurations ([#2382](https://github.com/floci-io/floci/issues/2382)) ([8d33c65](https://github.com/floci-io/floci/commit/8d33c6512951b7391ea48a456da8c17743d188af))
* **secretsmanager:** persist and return secret resource policies ([#2587](https://github.com/floci-io/floci/issues/2587)) ([8b23ed8](https://github.com/floci-io/floci/commit/8b23ed8f4aa6733538379847e330b0dd7530857a))
* **servicecatalog:** emulate AWS Service Catalog with Control Tower Account Factory ([#2585](https://github.com/floci-io/floci/issues/2585)) ([2e843e9](https://github.com/floci-io/floci/commit/2e843e9f2353092f015d5ee55937085b524bd705))
* **servicequotas,ram:** add Service Quotas and AWS RAM resource sharing ([#2579](https://github.com/floci-io/floci/issues/2579)) ([f912c3b](https://github.com/floci-io/floci/commit/f912c3b717ac19ed7b0d7d2bd36d6ed0384593f2))
* **ses:** extend tag endpoints to contact lists, custom verification email templates, and dedicated IP pools ([#2589](https://github.com/floci-io/floci/issues/2589)) ([c7cd78e](https://github.com/floci-io/floci/commit/c7cd78e3b366a8f00a657a7045bb4957c0264a5a))
* **ses:** support +label subaddressing on mailbox simulator addresses ([#2464](https://github.com/floci-io/floci/issues/2464)) ([c969ffc](https://github.com/floci-io/floci/commit/c969ffc31d1023272d40f137b026548a03909b8e))
* **ses:** support v2 PutAccountDetails and GetAccount Details ([#2498](https://github.com/floci-io/floci/issues/2498)) ([622ba0a](https://github.com/floci-io/floci/commit/622ba0adbd640a1d5270e3cc2c3973ff0605a697))
* **ses:** support v2 tenant CRUD (CreateTenant/GetTenant/ListTenants/DeleteTenant) ([#2644](https://github.com/floci-io/floci/issues/2644)) ([2963601](https://github.com/floci-io/floci/commit/2963601f698a70b98a441886241da21b9c3496dd))
* **ses:** support v2 tenant resource associations ([#2710](https://github.com/floci-io/floci/issues/2710)) ([67f75c7](https://github.com/floci-io/floci/commit/67f75c7e1d9fc1f6f8801aed71198832cd99c6d4))
* **ses:** support v2 tenant suppression attributes and tenant-scoped suppression list ([#2743](https://github.com/floci-io/floci/issues/2743)) ([fc3c283](https://github.com/floci-io/floci/commit/fc3c28323ac907bb88b79b293b2cb2b59722ce79))
* **ses:** support v2 tenant-scoped sending with association gate ([#2815](https://github.com/floci-io/floci/issues/2815)) ([b0fe831](https://github.com/floci-io/floci/commit/b0fe8311a01a609f73cc0508de512c075d4daaaf))
* **sfn:** support mocked service integrations (SFN_MOCK_CONFIG) ([#2452](https://github.com/floci-io/floci/issues/2452)) ([b6418db](https://github.com/floci-io/floci/commit/b6418dbfeea43b7b2906a3256d581bb88becc274)), closes [#2283](https://github.com/floci-io/floci/issues/2283)
* **sfn:** support Retry policies in Task, Parallel, and Map states ([#2455](https://github.com/floci-io/floci/issues/2455)) ([56e74d6](https://github.com/floci-io/floci/commit/56e74d64c6a5452ec9c23451f42bd472bc57b720)), closes [#2283](https://github.com/floci-io/floci/issues/2283)
* **signin:** add secure branded consent flow ([#2429](https://github.com/floci-io/floci/issues/2429)) ([09d7502](https://github.com/floci-io/floci/commit/09d7502b284b5d61a9334b809a5331c52c7814dd))
* **signin:** support AWS login credentials provider ([#2428](https://github.com/floci-io/floci/issues/2428)) ([470ec77](https://github.com/floci-io/floci/commit/470ec777114081f0888460421dd3934b21731096))
* **sns:** deliver topic broadcasts to application-protocol platform endpoints ([#1856](https://github.com/floci-io/floci/issues/1856)) ([f45d64a](https://github.com/floci-io/floci/commit/f45d64a00e70466ccb0e135ac9cc8568cba0d93c))
* **ssm:** document lifecycle, share permissions, and account-scoped service settings ([#2629](https://github.com/floci-io/floci/issues/2629)) ([7f6b875](https://github.com/floci-io/floci/commit/7f6b87513685731b045b0f53e7326eef14513cc5))
* **ssoadmin:** serve Identity Center ListInstances ([#2581](https://github.com/floci-io/floci/issues/2581)) ([a2bd22d](https://github.com/floci-io/floci/commit/a2bd22d5f887b409a35b9d72d63c35bace40fb09)), closes [#2579](https://github.com/floci-io/floci/issues/2579)
* **stepfunctions:** add the JSONata functions of the Step Functions dialect ([#2676](https://github.com/floci-io/floci/issues/2676)) ([eb5134d](https://github.com/floci-io/floci/commit/eb5134da2d7620c75fe276d747fa8ae3d1f40065))
* **stepfunctions:** describe a distributed Map run after it finishes ([#2694](https://github.com/floci-io/floci/issues/2694)) ([ff61c2b](https://github.com/floci-io/floci/commit/ff61c2b2a5b844f5eea153c20f43232adbac776a)), closes [#2671](https://github.com/floci-io/floci/issues/2671)
* **stepfunctions:** dispatch the seven Task service integrations of [#2663](https://github.com/floci-io/floci/issues/2663) ([#2686](https://github.com/floci-io/floci/issues/2686)) ([14112b8](https://github.com/floci-io/floci/commit/14112b8ace5a0272715d17a60d268e67b94ab925))
* **stepfunctions:** emit task history events and chain previousEventId ([#2703](https://github.com/floci-io/floci/issues/2703)) ([5600d21](https://github.com/floci-io/floci/commit/5600d21f32b00ff464243af96252070f52521f91)), closes [#2520](https://github.com/floci-io/floci/issues/2520)

### Performance Improvements

* **cloudformation:** probe Lambda S3 code with headObject, not getObject ([#2728](https://github.com/floci-io/floci/issues/2728)) ([ff36141](https://github.com/floci-io/floci/commit/ff36141c199bfc8bb387db053056526332fbeb4d)), closes [#2648](https://github.com/floci-io/floci/issues/2648) [#2675](https://github.com/floci-io/floci/issues/2675)

### BREAKING CHANGES

* state machines whose JSONata expressions reference a bare
top-level name are now rejected at creation, as on AWS. Anchor the reference
with $states.input.<name> for input or $<name> for an Assign variable.

* fix(stepfunctions): parse a JSONata payload key named after an ASL field

The deny list of fields AWS does not parse as JSONata was applied to every
key at every depth, so a payload key named Next, Comment, Resource, Retry,
Default, ErrorEquals, Credentials, Branches, ItemProcessor or Iterator hid
its expression. AWS parses a payload whole: `Assign: {"Next": "{% phone %}"}`
and `Arguments: {"Payload": {"Comment": "{% phone %}"}}` are both refused
with `Reference to 'phone' at the top level is not supported.` The deny list
now stops applying once the walk enters Output, Assign, Arguments,
ItemSelector or BatchInput.

The same walk refused `ItemReader.ReaderConfig.CSVHeaders`, which holds
literal column names: `validate-state-machine-definition` returns OK for it
and `create-state-machine` stores the machine, so CSVHeaders joins the list.
2.0.0
2026-09-01 05:04:22 +00:00
Hector Ventura ec97063362 docs: use x.y.z in the pinned image example (#2863)
Every emulator README pinned a concrete version in its compose example and
every one had gone stale: 1.5.11 against 1.7.0, 0.5.0 against 0.7.0, 0.9.0
against 0.11.0, 0.1.0 against 0.3.0. The channel table directly above each
example already writes the pinned channel as x.y.z, so the example now agrees
with its own table and cannot drift again.

The line above it, image: floci/floci:latest, stays copy-pasteable and is the
recommended one; the pinned line reads as the pattern.
2026-08-31 22:38:45 -05:00
Hector Ventura 2b4f39e4e6 ci: align the nightly schedule on 23:00 America/Chicago (#2862)
The four emulators targeted the same instant by two different routes, and
three of the four header comments were wrong about it. All four now carry the
same schedule block: cron '0 23 * * *' with timezone America/Chicago.

For floci-gcp and floci-az this is a behavior change: they used a fixed
'0 4 * * *' UTC, which holds 23:00 CT only in summer and slips to 22:00 CT
once CST starts. The inline comment claiming it "shifts to 23:00 CST in
winter" had the direction backwards.

The header comment now also records that GitHub delays scheduled runs on
low-activity repositories. Observed start times on this org range from 04:03Z
to 15:55Z for the same nominal schedule, so the cron is a target rather than a
guarantee, and aligning it does not make the four build simultaneously.
2026-08-31 22:38:27 -05:00
David 19013b8b63 fix(ecs): apply cluster settings given on CreateCluster (#2845)
handleCreateCluster read clusterName and tags and nothing else, and
EcsService.createCluster had no settings parameter, so settings sent at
creation were dropped. Real AWS accepts them on CreateCluster itself, not
only through UpdateClusterSettings, and handleUpdateClusterSettings two
methods away already parses them the right way.

The effect was permanent drift for any client that configures a cluster at
creation. terraform-provider-aws sends its setting block on create, then
reads DescribeClusters back without it and proposes the same change on every
plan after apply, forever.

Parse settings in the handler the way the update handlers do, and pass them
through a new createCluster overload. The existing overloads delegate, so
the CloudFormation caller is untouched.

Closes #2806
2026-08-31 22:11:16 -04:00
Allen Sanborn 90d1a19310 fix(elasticache): report transit encryption, not the auth-token flag (#2844)
TransitEncryptionEnabled was serialized as `authMode == PASSWORD` in both the
replication-group and the member-cache-cluster views. An auth token does force
encryption in transit, but the reverse does not hold: CreateReplicationGroup
already accepts TransitEncryptionEnabled=true with no token and records it as
AuthMode.IAM, and every read then reported that group as unencrypted in transit.
Terraform's aws_elasticache_replication_group reads transit_encryption_enabled
back on every plan, so such a group showed permanent drift.

DescribeCacheClusters had a second, narrower version of the same problem:
AtRestEncryptionEnabled was a hardcoded false on the member view, so it
contradicted DescribeReplicationGroups about one group's own storage
encryption. It now reports what the group stores, which is the value
CreateReplicationGroup already parsed and kept.
2026-08-31 22:07:13 -04:00
Brian Taylor ca4c84c9e0 fix(lambda): delete only the named version when DeleteFunction has a Qualifier (#2824)
* fix(lambda): delete only the named version when DeleteFunction has a Qualifier

DeleteFunction accepted a Qualifier and dropped it: the controller never
bound the query parameter, so every call took the unqualified path and
removed the function, $LATEST and every other version. A caller pruning
one old version silently lost the whole function, with a success
response and no warning.

The qualified path now removes that version alone. Error behaviour
follows the live service rather than the reference, which documents none
of it: deleting $LATEST by qualifier and naming an alias are both
InvalidParameterValueException, a version an alias references is a
ResourceConflictException, and a version that does not exist is a silent
success rather than a 404.

Closes #2819

* test(lambda): cover qualified DeleteFunction through the AWS SDK

The integration test drives the endpoint over raw HTTP, so nothing
exercised the qualified delete through a real SDK client. Adds SDK
coverage for the four cases: deleting one version leaves the function
and its other versions, $LATEST cannot be deleted by qualifier, a
version an alias references is refused, and an absent version is a
no-op.

* fix(lambda): pattern-validate the DeleteFunction qualifier

Character.isDigit accepts non-ASCII decimal digits, so a full-width or
Arabic-Indic digit was read as a version number and answered with a
silent 204 instead of being rejected. The live service pattern-validates
the qualifier before anything else and its constraint is ASCII-only;
that check now runs first, and the digit test no longer relies on
Character.isDigit.
2026-08-31 22:01:34 -04:00
Brian Taylor 7473c57720 fix(ses): return DeliveryOptions from v1 DescribeConfigurationSet (#2841)
PutConfigurationSetDeliveryOptions already persisted the TLS policy — v2
GetConfigurationSet returned it correctly — but the v1 projection never
read it back, omitting the DeliveryOptions member even when deliveryOptions
was named in ConfigurationSetAttributeNames.

The Terraform provider reads aws_ses_configuration_set through the v1
DescribeConfigurationSet, so the missing member made every plan re-add a
delivery_options block that apply never converged.

The two APIs spell the enum differently and the write path already
normalises v1 Require/Optional to the stored REQUIRE/OPTIONAL; the read
path converts back, so each API answers in its own casing.
2026-08-31 21:45:09 -04:00
Hector Ventura 10ce6be8cd docs: state the release cadence in CONTRIBUTING and the docs site (#2850)
* docs: state the release cadence in CONTRIBUTING and the docs site

Follow-up to the release-train documentation. CONTRIBUTING described how a
release is cut but never when, and the published contributing page said
nothing about releases at all, so the cadence was only discoverable from the
README.

- CONTRIBUTING: the 1st and 3rd Tuesday train leads the release section, and
  merging to main is stated not to cut a release.
- docs/contributing.md: a Releases section, including why the commit type
  matters, since semantic-release derives the version from it.
- docs/configuration/docker-images.md: the Channel table said release images
  publish "on every release", which explained nothing; it now names the train.

Three corrections in the same table, all pre-existing:

- The nightly row said 22:00 CT. nightly.yml is cron '0 23 * * *' pinned to
  America/Chicago, and observed runs land at 04:0x UTC, so it is 23:00 CT.
- Dated nightly tags were described as fixed and never moving. The workflow
  accepts workflow_dispatch and pushes unconditionally, so a same-day rerun
  republishes that day's tag. Reproducibility is a release-tag property.
- The pinned example was 1.5.11, six minor versions behind.

Em-dashes in the touched files replaced with ordinary punctuation, per the
documentation style rule in AGENTS.md.

* docs: correct three points raised in review

- Nightly availability was overstated. A merge after the nightly workflow
  starts misses that run, so the text no longer promises "that night's"
  image; it says the change reaches nightly on the next nightly build.
- The published contributing page called CHANGELOG.md never hand-edited,
  omitting the changelog-edit label that the root CONTRIBUTING documents as
  the route for a genuine correction.
- docker-images.md recommended 1.7.0 in the channel table while its Quick
  Reference still pinned 1.5.11.

Each was fixed in all four emulators, not only where it was flagged.
2026-08-31 20:14:02 -05:00
Hector Ventura 10a70ba16e docs: document the release train and lead with the four-cloud family (#2849)
* docs: document the release train and lead with the four-cloud family

State the stable cadence, the 1st and 3rd Tuesday of each month, beside the
existing tag matrix, with the nightly channel as the between-trains answer.
The cadence appeared in no README, docs page, CONTRIBUTING or workflow, so an
evaluator reading the releases page saw a release count with no schedule
behind it.

Promote "Any Cloud. Locally." to the header and add the four-cloud family
table to the opening section, reusing the pattern floci-oci already carries:
this README linked to none of the other three emulators.

Point at the LocalStack migration section from the opening paragraph. It was
written and accurate but sat below Testcontainers, where the reader it is
aimed at never reached it.

Replace every em-dash with ordinary punctuation, and record that rule in
AGENTS.md so it holds for later edits.

* docs: remove the em-dashes from AGENTS.md itself

The Documentation Style section states an absolute ban while the rest of the
file still used em-dashes, so the guide contradicted its own rule.

Definition bullets and headings take colons, two-clause sentences become two
sentences, and parenthetical pairs become commas. Inside fenced blocks the
dash is a column separator, so it becomes a colon: one character for one
character, leaving the hand-aligned annotation blocks untouched in width.

* docs: do not call the dated nightly tags immutable

nightly.yml derives the tag from the Chicago date and also accepts
workflow_dispatch, and the push step is unconditional, so a same-day manual
run or rerun rebuilds from the then-current tip of main and overwrites the
same nightly-mmddyyyy tag. The tag names a night's build; it does not
guarantee the bytes behind it.

Reproducibility belongs to the pinned version tags, which the surrounding
tag guidance already points at.
2026-08-31 19:29:09 -05:00
Brian Taylor 44629631ca fix(lambda): honour ListLayers and ListLayerVersions query parameters (#2817)
* fix(lambda): honour ListLayers and ListLayerVersions query parameters

CompatibleRuntime, CompatibleArchitecture, MaxItems and Marker were
accepted and ignored, and NextMarker was never emitted, so a client
paginating with MaxItems saw a single page and silently got the whole
list, while a runtime or architecture filter returned layers that do
not match it.

Both actions now filter, paginate and emit NextMarker. Validation
follows the live service rather than the API reference: range and enum
failures accumulate into one ValidationException in a fixed member
order, a non-integer MaxItems is a SerializationException that
short-circuits validation, and a Marker the service did not issue is
InvalidParameterValueException "Invalid pagination key.".

Under a filter, LatestMatchingVersion is the newest version that
matches rather than the newest overall, so ListLayers needs every
version of each layer rather than the latest of each.

Closes #2808

* fix(lambda): sign layer pagination markers

The tag identifying a Marker as Floci's was a fixed string, so a caller
could base64 a cursor of their own with the same prefix and have it
accepted. That cursor was then applied to the page, silently skipping
results or emptying the list where AWS rejects an unissued token.

Markers now carry an HMAC over the cursor, keyed per process, so a
fabricated or edited token fails the check. A marker from an earlier run
is stale for the same reason, which is what AWS does with an expired one.

* test(lambda): cover layer listing parameters through the AWS SDK

AGENTS.md prefers SDK clients over raw HTTP for management-plane
validation. The integration test covers the parameters through the wire
protocol; this adds the same filtering, pagination and enum rejection
through @aws-sdk/client-lambda, so a marshalling regression that only
the SDK would notice does not pass unseen.
2026-08-31 19:38:30 -04:00
Allen Sanborn afe26c6ad1 fix(elb): route Classic (v1) requests to a dedicated handler instead of ELBv2 (#2619)
* feat(elb): implement Classic (v1) Elastic Load Balancing

Classic ELB (2012-06-01) and ELBv2 (2015-12-01) share an endpoint host and
an `elasticloadbalancing` credential scope, but they are different APIs. Every
Classic request was reaching the ELBv2 handler, which rejected a well-formed
one with `ValidationError: Name is required for load balancer.` — because the
name arrived as `LoadBalancerName`, the Classic parameter — and answered a
request that guessed `Name` with an ALB object in the 2015-12-01 namespace, a
shape Classic has no concept of.

Route on the API version. Every Query-protocol request carries the version it
speaks as the `Version` form parameter, and both service models declare it, so
that is the discriminator: 2012-06-01 to the new Classic handler, 2015-12-01 to
ELBv2. This is the same in-case split the `rds` scope already uses to separate
RDS, Neptune and DocumentDB. Requests that omit `Version` fall back to their
parameter shape — an action unique to one API, else `LoadBalancerName` /
`LoadBalancerNames` selecting Classic, else ELBv2 as before.

Classic state is its own model, not the v2 one: keyed by name, no ARN, listeners
inline, and one structured attribute record. Responses follow the 2012-06-01
model's wrapper and element names — `CreateLoadBalancerResult` carries `DNSName`
and nothing else.

Scope is what the AWS provider drives for `aws_elb` and for an Auto Scaling
group attached to one: Create/Delete/DescribeLoadBalancers, the listener
operations, ConfigureHealthCheck, Register/DeregisterInstances,
DescribeInstanceHealth, Modify/DescribeLoadBalancerAttributes, the subnet,
availability-zone and security-group operations, and tagging. The stickiness
and backend-server policy operations, and SetLoadBalancerListenerSSLCertificate,
answer `UnsupportedOperation` in the 2012-06-01 namespace rather than a
fabricated result. There is no Classic data plane: listener ports are recorded
but no socket is opened.

Health is checked per instance from the single `HealthCheck.Target` string —
`HTTP:`/`HTTPS:` probed with a request, `TCP:`/`SSL:` by connecting — with the
same counters and thresholds ElbV2HealthChecker uses. An ASG naming Classic load
balancers in `LoadBalancerNames` now registers and deregisters its instances
with them, so a `min_elb_capacity` wait can be satisfied.

* docs(elb): register ElbClassicQueryHandler in services.yaml

Unblocks 'make docs-check', which fails on rebase without this — the
handler was never registered when the Classic ELB feature landed.

* fix(elb): register ElbClassicService for native init, deregister stale ASG instances from Classic ELBs

ElbClassicService's SecureRandom field wasn't declared under
--initialize-at-run-time, which fails GraalVM native image builds
(image-heap Random instances have cached seeds). Registers it
alongside the other services/*.Service entries in application.yml.

Also closes a gap Greptile flagged: removeStaleInstances() pruned an
ASG's dead instance references without deregistering them from target
groups or named Classic load balancers first, unlike the terminating-
and scale-in paths, leaving orphaned registrations visible through
DescribeLoadBalancers/DescribeInstanceHealth.

* fix(elb): return the documented 409 for a Classic multi-VPC subnet set

CreateLoadBalancer's own Errors table puts InvalidConfigurationRequest at HTTP
409; the Classic path raised it at 400. The error code was already right, so a
client that retries on 409 but fails hard on 400 got the wrong signal from the
one place the two can be told apart. Covered by a unit test that asserts the
status, not just the code.

Also from review: the empty-Listeners ValidationError carried a message copied
from an unrelated subnet/AZ check, and the new cross-reference to the Classic
docs page split elb.md's opening sentence mid-paragraph instead of following it.
2026-08-31 19:05:07 -04:00
Brian Taylor a7b2b79492 fix(lambda): honour Publish on CreateFunction and UpdateFunctionCode (#2825)
The Publish flag was never read on either path, so no version was ever
created unless the caller made a separate PublishVersion call, and both
actions reported Version as $LATEST. Terraform reads Version and
qualified_arn straight from that response, so every aws_lambda_function
with publish = true recorded $LATEST — which Lambda@Edge cannot use.

Both actions now publish and report the new version. The ARN they return
differs, following the live service rather than the reference, which does
not distinguish them: CreateFunction keeps the unqualified FunctionArn
while UpdateFunctionCode returns the qualified one, as PublishVersion
does.

Closes #2820
2026-08-31 14:52:19 -04:00
Daniel ZwickerandPriamo Germosen 3aaf74520e fix(cognito): enforce user pool password policies (#2070)
* fix(cognito): enforce user pool password policies

Closes #2066

* fix(cognito): close remaining password-policy review gaps on #2066

Addresses the three items left open on this PR's review:

- Password reuse now raises PasswordHistoryPolicyViolationException
  instead of InvalidPasswordException, matching the shape AWS declares
  for it on AdminSetUserPassword, ChangePassword, ConfirmForgotPassword,
  RespondToAuthChallenge and AdminRespondToAuthChallenge (all funnel
  through updateUserPassword here).
- Fixed the off-by-one in PasswordHistorySize: AWS counts the current
  password as one of the n, so only n-1 prior passwords are blocked
  alongside it, not n. Both the check and what gets retained in history
  are corrected together.
- adminResetUserPassword no longer bypasses PasswordHistorySize: it now
  archives the outgoing password hash before clearing it, the same way
  an ordinary password update does.
- CreateUserPool now fills in AWS's per-field password policy defaults
  (MinimumLength 8, all four character-class requirements, Temporary-
  PasswordValidityDays 7) for any field left unset in a supplied
  PasswordPolicy. Deliberately scoped to a policy that is present but
  partial, not to a pool with no PasswordPolicy at all -- every other
  pool-creating test in this codebase relies on that meaning no
  validation, and defaulting one into existence would enforce it on
  all of them retroactively. The broader "no Policies at all" case
  stays a separate follow-up.

New tests: passwordHistoryCountsTheCurrentPasswordAsOneOfN,
adminResetUserPasswordDoesNotBypassPasswordHistory,
createUserPoolDefaultsAnUnsetMinimumLengthToEight. Updated
passwordHistoryRejectsARecentlyUsedPassword's assertion for the new
exception code, and createUserPoolWithFullConfig's expectation for the
normalized policy shape.

* fix(cognito): stop admin reset from shrinking the password-history window

greptile caught a real bug in the previous commit: updatePasswordHistory
always capped retained history at PasswordHistorySize - 1, on the
assumption that a current password always occupies one of the n slots.
That's true for an ordinary password change, but not for
adminResetUserPassword, which clears the current password without
replacing it -- so capping at n-1 there dropped the oldest still-
protected entry a reset alone should not age out.

Both updatePasswordHistory and validatePasswordAgainstPolicy now check
whether a current password hash exists at the moment they run (the
mutation callers apply before archiving/checking) to decide whether n
or n-1 entries are live. adminResetUserPassword is reordered so the
hash is actually cleared before archival runs, matching what the check
now expects.

New test: adminResetUserPasswordDoesNotShortenTheHistoryWindow, which
pins the exact PasswordHistorySize: 2 / three-password / reset scenario
greptile's finding described, including that the window correctly
shrinks back to n-1 once a new password re-occupies the current slot.

---------

Co-authored-by: Priamo Germosen <6233424+pgermosen@users.noreply.github.com>
2026-08-31 13:09:58 -04:00
BingEdward 62dbd9ddf9 fix(apigateway): report RestApi as available (#2816) 2026-08-31 11:31:28 -04:00
Brian Taylor 968ff78e25 fix(lambda): make the code-volume populate concurrency configurable (#2830)
Concurrent first-time code-volume populates are capped by a semaphore sized
Math.max(2, availableProcessors() / 2). The JVM honours the container's cgroup
CPU quota, so a CPU-constrained Floci container derives 2 permits and concurrent
cold starts of *distinct* large functions complete in waves of two instead of in
parallel.

Measured on main, six distinct functions with 41MB packages, all cold, fired
concurrently, varying only the quota on Floci's own container:

  unlimited (16 cpu)  ->  8 permits  ->  one wave of 6   ->   8.3s
  --cpus=8            ->  4 permits  ->  waves of 4, 2   ->  13.2s
  --cpus=4            ->  2 permits  ->  waves of 2,2,2  ->  19.2s

The wave sizes track the formula exactly, which rules out generic CPU starvation
- that would slow all six uniformly rather than produce discrete equal-size waves.

The populate is IO-bound (creating a helper container and streaming a tar into
it), so CPU count is a weak proxy for how many the Docker daemon can absorb. The
cap itself is still worth having: the daemon overload it was added to prevent is
real. What was missing is a way to decouple it from the CPU allocation, so this
adds floci.services.lambda.code-volume-populate-concurrency
(FLOCI_SERVICES_LAMBDA_CODE_VOLUME_POPULATE_CONCURRENCY) and leaves the derived
default untouched.

Values below 1 fall back to the derived default with a warning: zero permits
would deadlock every populate, and a negative Semaphore count would make
acquire() block until that many releases arrived.

The semaphore becomes an instance field so the permit count can come from
config. Floci runs a single @ApplicationScoped launcher, so it is still one gate
for the whole emulator.

Refs #2050
2026-08-31 11:14:29 -04:00
TATSUNO “Taz” Yasuhiro 63a2a60a30 fix(stepfunctions): let a mocked response with no attempts start the execution (#2823)
A MockedResponses entry with no attempt keys was rejected at StartExecution, so a
generated mock file failed the whole execution when the collection it was built from
was empty. Step Functions Local starts the execution and fails it with States.Runtime
only when the state that names the entry is entered.

An empty entry is a lookup that finds nothing, not a malformed entry. Floci already
accepts a mock that defines attempt 1 but not attempt 0 and fails the same way at run
time. Every other malformed entry keeps its 400 at StartExecution, which stays stricter
than Step Functions Local.

Verified against amazon/aws-stepfunctions-local:2.0.0.

Refs #2523
2026-08-31 11:09:43 -04:00
Kenshin Okinaka b0fe8311a0 feat(ses): support v2 tenant-scoped sending with association gate (#2815)
* feat(ses): support v2 tenant-scoped sending with association gate

* fix(ses): guard tenantForSending against a null TenantName and pin the raw-test charset

* fix(ses): validate an inline bulk template before the tenant gate
2026-08-31 09:35:40 -04:00
Brian Taylor 5b363ffa2d fix(lambda): implement GetLayerVersionByArn (#2812)
* fix(lambda): implement GetLayerVersionByArn

GET /2018-10-31/layers?find=LayerVersion&Arn={arn} is GetLayerVersionByArn,
but only ListLayers was bound to that path and it ignored both query
parameters. A GetLayerVersionByArn call was therefore answered with a
ListLayers body and HTTP 200: an SDK deserialises that against the
GetLayerVersionByArn output shape, finds none of its members, and hands the
caller an empty result instead of the layer version or a
ResourceNotFoundException.

AWS gives the two actions the same method and path, discriminated only by
`find`, and JAX-RS cannot route on a query parameter, so the branch lives in
the handler.

The semantics below were measured against the live service rather than
inferred from the reference:

  find=LayerVersion&Arn=<present>  200 + LayerVersion object
  find=LayerVersion&Arn=<absent>   404 ResourceNotFoundException
  find=LayerVersion, no Arn        400 ValidationException, must not be null
  find=LayerVersion&Arn=junk       400 ValidationException, pattern in message
  find=Nonsense                    200 + ListLayers body
  find=layerversion                200 + ListLayers body (match is case-sensitive)

The Arn pattern enforced here is the one the live service reports in its own
ValidationException, not the one the API reference publishes: it constrains
the region segment more tightly and additionally accepts the AWS-managed
arn:<partition>:lambda:::awslayer:<name> form, which the reference omits.

The response reuses the builder GetLayerVersion already returns, and resolves
Content.Location against the layer's own region rather than the caller's,
matching the lookup resolveLayerByArn already keys on.

* fix(lambda): scope GetLayerVersionByArn to the caller's account

resolveLayerByArn keys on region, layer name and version. Storage is already
partitioned per account, so that lookup runs inside the caller's own partition
— an ARN naming a different account did not reach that account's layers, but it
did resolve to the caller's own same-named layer and return it.

Measured on main, without this action: account B publishes
arn:...:111111111111:layer:acct-probe:1, then calls CreateFunction with
Layers=[arn:...:000000000000:layer:acct-probe:1]. The call succeeds and the
function records account A's ARN while B's own layer is what resolves. Account
B never sees account A's layer — GetLayerVersion by name and ListLayers both
return nothing for it — so this is a wrong-resource answer, not a cross-account
read.

GetLayerVersionByArn is the one layer action that takes an account explicitly,
so it honours it: an ARN outside the caller's account is a 404, which is what
the caller already gets from GetLayerVersion for a layer it cannot see. No
layer can be shared cross-account here — layer permissions are unimplemented —
so a foreign account is always a miss, and the check is the place sharing would
hook in if that changes.

The same account-blindness reaches CreateFunction and UpdateFunctionConfiguration
through validateLayersResolvable, and the container launcher through the same
resolver. Those are pre-existing on main and change behaviour for existing
actions, so they are left for a separate change rather than folded in here.

* fix(lambda): reject a layer ARN naming another partition

The account guard compared only the account, and resolveLayerByArn drops
the partition as well as the account, so an ARN in another accepted
partition with the same account, region, name and version resolved to
the caller's local layer and was returned under the foreign-partition
ARN. The live service rejects those outright with
InvalidParameterValueException.
2026-08-31 09:10:49 -04:00
Vũ Thế Huy 426fbcb284 feat/redshift auth proxy (#2751)
* feat(redshift): add auth proxy port range and endpoint-host config

* feat(redshift): add containerHost/containerPort/proxyPort to Cluster model

* feat(redshift): add RedshiftAuthProxy reusing the RDS PostgreSQL protocol handler

* feat(redshift): add RedshiftProxyManager registry with shutdown hook

* feat(redshift): front new clusters with an auth proxy and advertise it

* feat(redshift): stop/update proxy on delete/modify, start it on snapshot restore

* feat(redshift): keep proxy port stable across reboot and adopt-on-startup

* test(redshift): integration coverage for JDBC through the auth proxy

* test(redshift): reinstate JDBC connectivity check now that the proxy exists

* docs(redshift): document the cluster auth proxy and its config

* fix(redshift): prevent minor port leak when proxy fails to start

* fix(redshift): rollback container on proxy failure and surface teardown errors

* fix(redshift): stop auth proxy on rollback to prevent listener collisions

* fix(redshift): ensure proxy shutdown failure does not abort container and port cleanup

* fix(redshift): add proper logging for intentionally ignored cleanup exceptions

* fix: Wait for Redshift database readiness before proxying

Previously, RedshiftContainerManager just slept for 3 seconds before marking the container as started. On slower CI environments, the PostgreSQL database might take longer to initialize, resulting in Connection Refused when the RedshiftAuthProxy forwards connections.
Now, RedshiftContainerManager polls the database using psql until it's ready, up to 60 seconds.

* fix(redshift): prevent proxy port reallocation on shutdown failure

Addresses a review comment indicating that if a Redshift auth proxy fails to shut down during rollback or deletion, its port must not be released into the available pool. Reassigning a still-bound port would cause subsequent cluster creations to fail with a BindException.
Instead, we now tolerate proxy shutdown errors but intentionally leak the port allocation to prevent collisions.

* fix(redshift): fix failing tests due to proxy changes

1. RedshiftOperationsTest checked for a hardcoded port 5440, but the RedshiftService now allocates dynamic proxy ports. Removed the exact port assertion.
2. RedshiftContainerManager's psql readiness check was connecting via local Unix socket, which succeeded before PostgreSQL was actually ready to accept remote TCP connections from the proxy. Added '-h 127.0.0.1' to enforce TCP readiness.

* test(redshift): use Awaitility to connect to proxy

Use Awaitility to retry the initial connection in RedshiftProxyIntegrationTest to prevent transient 'Connection attempt failed' errors on slower CI environments.

* chore(redshift): use proper imports instead of fully-qualified class names in tests

* fix(redshift): fix compiler errors introduced during import cleanup

* fix(redshift): resolve proxy lifecycle bugs and CI network issues

- Throw RuntimeException from RedshiftProxyManager.stopProxy if proxy is not found. This allows RedshiftService to catch it and intentionally leak the port, preventing port collisions if a proxy fails before registration.
- Force RedshiftProxyIntegrationTest to connect via 127.0.0.1 instead of the endpoint address, which resolves to host.docker.internal in CI environments and causes UnknownHostException.

* fix(redshift): prevent proxy port exhaustion on startup failures

Instead of blindly assuming missing proxies denote a leaked port, RedshiftProxyManager now tracks proxies that failed their socket cleanup during startup. stopProxy throws an exception only if the socket is known to be leaked. This allows RedshiftService to safely release ports after clean proxy startup failures, addressing Greptile's feedback about port exhaustion.

* fix(redshift): retain proxy reference to allow retry on close failure

As identified by Greptile, stopProxy previously removed the proxy from the registry before calling proxy.stop(). If stop() threw an exception, the proxy reference was lost, preventing any subsequent retry from ever finding it and attempting to close it again. stopProxy now only removes the proxy from the registry after stop() returns successfully. Additionally, failedCleanups is now retained instead of cleared, ensuring retries continue to safely leak the port if cleanup remains impossible.

* fix(redshift): abort cluster deletion if proxy fails to stop

As highlighted by Greptile, previously deleteCluster would swallow proxy shutdown failures and delete the cluster metadata anyway. This eliminated the retry path, stranding the unclosed proxy and its port reservation until the process exited. Now, if stopProxyAndReleasePortSafely fails, deleteCluster throws an exception to preserve the cluster metadata so the deletion can be retried.

* test(redshift): lock in proxy lifecycle failure-recovery behaviors

Bổ sung test cho ba hành vi hardening chưa được cover, để refactor sau
không âm thầm phá vỡ:

- stopProxy giữ lại proxy trong registry khi close() ném, cho phép retry
  gọi lại đúng instance và chỉ deregister sau khi stop sạch
- marker leak khi startup cleanup thất bại được retain qua mọi retry và
  chỉ bị xoá bởi một lần start mới thành công
- deleteCluster abort với InternalFailure, giữ nguyên container + metadata
  khi proxy không stop được; retry sau đó hoàn tất khi proxy stop OK

Đồng thời bỏ "-p 7100-7199:7100-7199" trong compatibility.yml: proxy bind
0.0.0.0 trong container floci và sdk-test-java chạy trên compat-net nên
JDBC đi container-to-container qua alias "floci", không cần publish port
ra host. Giữ lại FLOCI_SERVICES_REDSHIFT_ENDPOINT_HOST=floci.

* fix(redshift): keep an unclosable proxy reachable for later retry

Theo phản hồi mới của Greptile: khi start/replace proxy thất bại và
cleanupFailedStart cũng không đóng được listener, code cũ chỉ lưu relayKey
vào một Set rồi vứt object RedshiftAuthProxy. stopProxy sau đó ném vĩnh
viễn mà không còn cách nào chạm tới listener để thử đóng lại, khiến
cluster không xoá được và port bị giữ mãi trong dải hữu hạn.

Thay Set<String> failedCleanups bằng Map<String, RedshiftAuthProxy>
unclosableProxies. cleanupFailedStart giữ lại chính proxy đó; stopProxy và
stopAll thử đóng lại, chỉ gỡ entry khi stop thành công. startProxy không
còn xoá marker khi start mới — chỉ một lần stop thành công mới gỡ, vì
listener cũ có thể vẫn đang bound.

* fix(redshift): retry proxy port bind to absorb reboot rebind race

rebootCluster giữ nguyên proxy port của cluster để endpoint ổn định, nên
listener cũ bị đóng rồi bind lại đúng port đó chỉ vài ms sau. Dưới tải
(CI runner ARM) kernel có thể chưa nhả port và SO_REUSEADDR không giúp
được khi accept loop cũ đang teardown -> BindException -> RebootCluster
trả 500. Đây là nguyên nhân test RedshiftOperationsTest.
testClusterAndSnapshotLifecycle fail chập chờn.

start() giờ retry bind tối đa ~1s, chỉ nuốt BindException; IOException
khác vẫn propagate ngay. Thêm test dựng cảnh port bị chiếm tạm thời rồi
nhả, xác nhận proxy vẫn bind được.

* fix(redshift): tear down proxy and release port when rebootCluster fails

Nếu startProxy/restoreSnapshot ném sau khi proxy đã (re)start trong
rebootCluster, hai nhánh catch chỉ set status "failed" rồi rethrow —
proxy mới vẫn chạy và port vẫn nằm trong usedPorts, không nhánh nào dọn.
Giờ cả hai catch gọi stopProxyAndReleasePortSafely như createCluster và
restoreFromClusterSnapshot đã làm; proxyPort được hoist ra ngoài try với
sentinel -1 để rollback an toàn kể cả khi chưa cấp port.

Thêm test: restoreSnapshot ném -> proxy được stop lại, AwsException nổi lên.

* fix(redshift): serialize createCluster/deleteCluster/restoreFromClusterSnapshot

modifyCluster và rebootCluster đã synchronized nhưng create/delete/restore
thì không, dù cả năm method đều chạy chuỗi container + proxy + port nhiều
bước trên cùng một cluster. deleteCluster(x) chạy song song rebootCluster(x)
có thể để lại metadata mồ côi trỏ tới container/proxy đã dừng. Thêm
synchronized cho ba method còn lại để nhất quán.

* fix(rds,redshift): close backend socket when the auth handshake fails

handleConnection mở kết nối TCP tới container Postgres trước khi gọi
handleAuth. Chỉ nhánh thành công (bridge) và vài nhánh lỗi có kiểm soát
mới đóng backend; nếu handleAuth trả về sớm ở một probe trần (SSLRequest
không kèm startup) hoặc ném IOException (client ngắt giữa handshake), catch
cũ chỉ đóng client -> mỗi health-check TCP làm rò một connection tới
Postgres, ăn dần max_connections.

Chuyển việc đóng socket sang finally, đóng cả client lẫn backend
(idempotent, nhánh thành công đã đóng sẵn). Áp cho cả RdsAuthProxy vì
RedshiftAuthProxy được copy từ đó. Thêm test: client drop giữa handshake
-> backend nhận EOF.

* fix(redshift): stop replacement container and keep dump on failed reboot

Rollback của rebootCluster (b44fd1e3) mới chỉ stop proxy + release port,
để container thay thế chạy tiếp sau một cluster "failed", và finally vẫn
xoá tempDump. Vì container gốc đã stop và không có volume, tempDump là bản
sao duy nhất của data -> mất data không khôi phục được (bug có sẵn, giờ
mới lộ).

rollbackReboot() giờ stop luôn container thay thế (như createCluster/
restoreFromClusterSnapshot). tempDump chỉ bị xoá khi reboot thành công;
khi fail thì giữ lại và log đường dẫn để khôi phục thủ công.

* fix(redshift): make reboot rollback phase-aware to protect the original

Commit trước cho rollbackReboot stop container vô điều kiện. Nếu reboot
fail ngay ở takeSnapshot hoặc stopProxy — lúc container gốc (chứa data,
không volume) VẪN đang chạy — thì rollback lại force-remove chính nó, huỷ
bản sao data hoàn chỉnh duy nhất và chỉ còn dump rỗng/dở.

Thêm hai cờ:
- originalTornDown: đã stop proxy + container gốc -> rollback mới được
  đụng vào proxy/port
- replacementStarted: đã start container thay thế -> rollback mới được
  stop container
Fail trước hai mốc đó: không đụng gì, trạng thái gốc còn nguyên.

Thêm test: takeSnapshot ném -> cm.stop và stopProxy không được gọi.

* fix(redshift): clean an orphan replacement container on failed reboot

containerManager.start có thể tạo container Docker rồi mới ném ở
waitForReady, nên cờ replacementStarted (set sau khi start return) bỏ sót
trường hợp này -> orphan chạy dưới tên cluster.

Bỏ replacementStarted, gate rollback theo mỗi originalTornDown: một khi
proxy + container gốc đã stop thì container gốc chắc chắn biến mất, nên
containerManager.stop (xoá theo tên) chỉ có thể chạm replacement — kể cả
replacement do start() tạo dở rồi ném.

Thêm test: start() ném -> rollback vẫn gọi cm.stop để dọn orphan.

* fix(redshift): remove orphan cluster metadata on failed create/restore

* fix(redshift): keep failed cluster metadata if proxy stop fails

* fix(redshift): fix TooManyActualInvocations in proxy tests

* fix(redshift): clear proxyPort on reboot rollback if port is released

* fix(redshift): retain reserved port on reboot startup failure

* fix(redshift): retain proxy port in reboot rollback and teardown failed startup recovery

* fix(redshift): skip failing cluster and retaining dump if reboot fails before teardown
2026-08-31 09:03:26 -04:00
Facundo ParedesandFacundo Paredes f7f16cd2a3 fix(stepfunctions): bound $range allocation at the AWS memory limit (#2790)
* fix(stepfunctions): open a JSONata query evaluation cause with the AWS sentence

evaluateField now wraps a thrown JSONata failure with "The JSONata expression
'<expr>' specified for the field '<field>' threw an error during evaluation"
before the existing tail, matching real AWS. The separator is ". " when the
tail carries a JSONata error code and ": " when it is a bound message with
none. evaluate() keeps producing the bare tail unchanged for its direct
callers.

evaluate() stays the only place the JSONata engine is called and the only
catch around it: evaluateField calls it and enriches the failure it throws,
rather than reaching the engine itself. QueryEvaluationFailure carries the
separator across that throw, so a catch added to evaluate() later covers both
entry points. All 11 AslExecutor call sites reach the evaluator through
evaluateField or resolveTemplate, so a catch installed anywhere else would be
dead on every real execution path.

* fix(stepfunctions): catch Error from JSONata evaluation as States.QueryEvaluationError

An OutOfMemoryError or StackOverflowError raised while parsing or evaluating a JSONata
expression escaped JsonataEvaluator's catch (Exception) and reached AslExecutor's own
last-resort catch (Error), failing the whole execution as States.Runtime before the
state's own Retry and Catch ever ran. JsonataEvaluator.evaluate now also catches Error at
the same seam and translates it into a FailStateException with States.QueryEvaluationError,
so a Catch on the state (or on States.ALL) can recover, matching real AWS.

Closes #2738

* fix(stepfunctions): match AWS on the JSONata expressions it refuses

Four expression classes where Floci and AWS disagreed on whether the state
fails at all, all measured against us-east-1 with test-state.

The evaluation-depth ceiling drops from 500 to 100, which is AWS's own: five
nesting shapes bisected one n at a time all put its last accepted evaluation at
depth 100 and its first refusal at 101. An addition chain nests one level per
term and AWS accepts 100 terms; parentheses, brackets and the chain operator
nest one level more than their count and AWS accepts 99 of each; a
non-tail-recursive $f(n) nests 3n+5 and AWS accepts n=31, depth 98, refusing
n=32, depth 101.

The memory an expression may hold is now bounded, which it was not: one value an
evaluation step produces may hold 6,990,256 bytes, counting a number as eight
and a character as one. The two shapes AWS was bisected on, [1..873782] and a
string doubled 22 times, bracket a number at between five and nine bytes a
character: with the bound at 873,782 numbers, anything in that range leaves
4,194,304 characters inside it and 8,388,608 outside, and four or ten does not.
Eight is what a double costs, and it is inside the bracket. The check walks the
value and stops at the bound, and a lazy range is counted from its length rather
than materialised.

$eval is unbound, as AWS disables it, so a call to it answers T1006 the way AWS
does and $parse stays the replacement.

A non-finite number the expression itself evaluates to comes back as the string
AWS writes for it, since JSON has no literal for one: 1/0 and 1e308*10 are
"Infinity" and $parseInteger("abc","0") is "NaN", where the first two raised
D1001 and the third returned nothing and failed the field. One the library's
arithmetic buries inside a value, as in [1/0], still fails the state, because
the refusal is the only place the library leaves the value and it has already
unwound what was being built; one a function answers nests like any other value.
$formatNumber checks its picture string against the fourteen rules of XPath F&O
4.7.3 first, so $formatNumber(1, "x") fails with D3086 instead of answering "x1".
Which of the fourteen codes AWS reports is what fixes the order the rules are
read in: a picture with no digit breaks D3085 and D3086 at once and AWS reports
the second, so the last rule broken names the failure rather than the first.

Closes #2737

* fix(stepfunctions): bound $range allocation at the AWS memory limit

AWS accepts $range(1, 360145, 1), all 360,145 elements, and refuses one
element more on its own memory limit. Floci's $range had no such bound:
it built the array in full before the memory check on the value ever ran,
so a call far past AWS's limit spent gigabytes and either exhausted the
heap or hung instead of failing the state cleanly.

range() now refuses a call whose produced element count exceeds the
measured bound before allocating, throwing the same
States.QueryEvaluationError JException the held-memory check raises,
whose message is now a single shared constant. Other built arrays keep
the looser, byte-based bound.

* test(stepfunctions): pin the number model of the execution input

Measured against real AWS (test-state, 2026-08-30): a Pass state with
Output {"v": "{% $states.input.amount %}"} answers {"v": 1} for input
{"amount": 1.0} and {"v": 9.223372036854776E18} for input
{"amount": 9223372036854775808}. That is exactly what routing the
execution input through toJsonataValue/toJsonataNumber already
produces, so these two tests pin it against silent regression.

---------

Co-authored-by: Facundo Paredes <25681464+facuparedes@users.noreply.github.com>
2026-08-31 00:16:52 -04:00
Facundo ParedesandFacundo Paredes ead70eae4d fix(stepfunctions): refuse the definitions AWS refuses, at both validation entry points (#2786)
* fix(stepfunctions): reject definitions with no terminal state, dangling targets or unsupported fields

Enforce the ASL rules AWS applies at both ValidateStateMachineDefinition
and CreateStateMachine: a workflow needs a terminal state
(MISSING_END_STATE, top-level only, suppressing the unreachable-state
reachability check but not a dangling-target check), every reachable
state and every Next/Choices[].Next/Default/Catch[].Next target must
exist (MISSING_TRANSITION_TARGET), recursing into ItemProcessor and
Branches with structured paths, and TimeoutSeconds/Catch/Retry are
refused outside the state types that support them
(SCHEMA_VALIDATION_FAILED, "Field '<name>' is not supported").

CreateStateMachine's wire message always renders " at <location>",
printing the literal "null" when there is none, matching AWS exactly;
ValidateStateMachineDefinition keeps omitting the location field
entirely when null, which is the correct, unchanged behavior for that
API.

Remove the now-dead Parallel TimeoutSeconds handling in AslExecutor:
no definition carrying that field can reach execution anymore.

* fix(stepfunctions): reject JSONata expressions that do not parse at definition time

Report INVALID_JSONATA_EXPRESSION when a JSONata expression fails to parse,
using the parser's own message with its S0xxx code prefix stripped, at the
field's location. Also report UNSUPPORTED_JSONATA_EXPRESSION for '$$' and
for '$states.errorOutput' outside a Catch entry's own Output or Assign.

Previously these were accepted at ValidateStateMachineDefinition and
CreateStateMachine time and only failed later, at execution, with
States.QueryEvaluationError.

Every message asserted was measured against real AWS us-east-1 with
`aws stepfunctions validate-state-machine-definition`, including
`phone %.other` and the empty expression, which AWS also refuses.

The three booleans the definition walk threaded through every recursive
call (insidePayload, isCatchEntry, insideCatchOutputOrAssign) travel as a
single JsonataScope value, which drops collectTopLevelReferences back under
the Sonar S3776 limit.

---------

Co-authored-by: Facundo Paredes <25681464+facuparedes@users.noreply.github.com>
2026-08-31 00:11:55 -04:00
Hector Ventura 9f7b7117f1 refactor(cloudformation): move AWS::SNS::* into its own provisioner (#2759)
Migrates AWS::SNS::Topic and AWS::SNS::Subscription out of the switch,
completing the Wave 1 leaf slices. Behaviour-preserving.

The care here is the subscription's attribute encoding. FilterPolicy and
RedrivePolicy are JSON documents that SNS expects as JSON strings, so they
go through resolveJsonAttribute, while FilterPolicyScope and
RawMessageDelivery are scalars that go through resolve. Using the scalar
resolver on a document flattens it to an empty string and silently breaks
message filtering, which is the failure this type has had before, so the
test stubs the two resolvers with distinct semantics and asserts the
serialized form rather than only that an attribute was set.

The topic's physical id is the ARN rather than the name, because Ref on an
SNS topic returns the ARN.
2026-08-31 00:06:05 -04:00
Matheus André 6f123e83b8 feat(batch): add update and delete job queue endpoints with corresponding service logic (#2807) 2026-08-30 23:35:09 -04:00
Hector Ventura 66d910c613 fix(build): resolve the JSON schema library from Maven Central (#2811)
A clone with a cold ~/.m2 cannot build. Apicurio's schema-util-json asks for
the JSON schema library under its JitPack coordinate,
com.github.everit-org.json-schema:org.everit.json.schema, which has never
been published to Maven Central. The project declares no repositories, so
Maven only ever consults Central, where that artifact returns 404.

Builds that work are resolving it from a warm local cache, CI included via
its restored Maven cache, which is why this stayed hidden.

Replaced with com.github.erosb:everit-json-schema, the same project rehomed
by its author to a Central-published coordinate. Both jars carry the same 174
classes under org.everit.json.schema, so apicurio's JsonSchemaCompatibilityChecker
and JsonSchemaContentValidator load unchanged, and the Central version is
newer (1.14.6 against 1.14.4).

Adds the JSON cases that prove it. SchemaCompatibilityCheckerTest covered
only AVRO and PROTOBUF, neither of which touches the library, so the whole
JSON branch of checkerFor/validatorFor was untested and a missing dependency
would only have surfaced at runtime. Dropping the replacement now fails
those three with NoClassDefFoundError on org.everit.json.schema.loader.SchemaLoader.

One expectation is asserted as observed rather than assumed: apicurio treats
adding an optional JSON property as narrowing, the opposite of the AVRO case,
because data carrying that key with another type validated before.
2026-08-30 23:06:30 -04:00
Hector Ventura 2d724d15aa refactor(cloudformation): move Kinesis and CloudWatch to their own provisioners (#2758)
Migrates AWS::Kinesis::Stream and AWS::CloudWatch::Alarm out of the switch.
Two unrelated services in one slice because each is a single service call
with property mapping and no shared state; splitting them would cost two
review cycles for one mechanical change.

Kinesis carries an update path: an unchanged name reconciles stream mode,
retention and tags rather than calling createStream again, which the service
rejects with ResourceInUseException. It uses ctx.priorPhysicalId() for the
same reason the log group slice does, since the body assigns the new id
before it returns.

sameNameExistingResource, deleteRenamedResource and parseIntProp are copied
rather than shared: each still has callers in the monolith. addAlarmActions
moves, since all three of its call sites are inside the alarm body. Both
service fields leave the monolith; their constructor parameters stay until
the endgame.

The existing Kinesis and CloudWatch alarm integration tests are QuarkusTests
resolved through CDI, so they exercise the new provisioners with no edit,
which is the regression evidence for this slice.
2026-08-30 21:47:44 -05:00
kotov228andPriamo 8765cde6dd test(terraform): expand Floci IaC compatibility coverage (#1834)
* test(terraform): expand Floci IaC compatibility coverage

* fix(terraform): use current S3 backend path style option

* fix(terraform): route ElastiCache provider calls to Floci

* fix(compat): resolve Firehose name collision, drop resources with live Floci gaps

- aws_kinesis_firehose_delivery_stream.compat collided with main's
  .events stream (both named floci-compat-firehose); renamed to
  floci-compat-firehose-basic.
- Removed aws_codebuild_project, aws_cloudtrail, and aws_opensearch_domain
  from both suites: running the suite end-to-end surfaced real Floci gaps
  behind them (BatchGetProjects ARN lookup, CloudTrail ListTags, OpenSearch
  CognitoOptions nil deref crashing the provider) that only show once
  Terraform gets past apply into the post-create refresh. Tracked as
  #2799, #2800, #2801.
- Updated test counts in README to match (70/44/2,582).

* fix(compat): force_destroy the compat bucket, drop resources with live teardown gaps

- aws_s3_bucket.app now sets force_destroy = true: the CUR report now
  actually emits into this bucket (format=Parquet finally lets the
  report definition get created), so terraform destroy needs to be
  able to clear a non-empty bucket.
- Removed aws_transfer_server: Floci's DeleteServer wrongly requires
  OFFLINE state, which isn't real AWS behavior (confirmed against the
  API reference and terraform-provider-aws's own delete logic, which
  never calls StopServer first). Tracked as #2802.
- Removed aws_batch_compute_environment: UpdateComputeEnvironment
  (called by terraform destroy to disable it first) isn't implemented
  at all, so the request falls through to an HTML error page instead
  of a modeled error. Tracked as #2803.
- Updated test counts in README to match (68/42/2,578).

* fix(compat): drop aws_api_gateway_rest_api pending Floci apiStatus fix

CI (native / compat-terraform) showed terraform apply deterministically
timing out on aws_api_gateway_rest_api: terraform-provider-aws waits for
the REST API's apiStatus field to reach AVAILABLE, and Floci never sets
it (confirmed apiStatus is a real, current field in the apigateway wire
model). Removed from both suites; tracked as #2804.

Updated test counts in README to match (67/41/2,576).

* fix(compat): drop redundant ECS containerInsights setting causing drift

CreateCluster silently drops the settings field on Floci (confirmed:
handleCreateCluster never parses req.path("settings"), unlike the
update handlers), so a subsequent plan always proposes re-adding it -
permanent drift on the suite's "re-planning reports no changes" check.
containerInsights=disabled is AWS's actual default, so the block was
functionally redundant; dropped it rather than block on a Java fix.
Tracked as #2806.

---------

Co-authored-by: Priamo <pgermosen@gmail.com>
2026-08-30 22:44:33 -04:00
Hector Ventura 1d81cdd0d2 refactor(cloudformation): move AWS::Logs::LogGroup into its own provisioner (#2756)
* refactor(cloudformation): move AWS::S3::* into its own provisioner (#2754)

Migrates AWS::S3::Bucket and AWS::S3::BucketPolicy out of the switch.
Behaviour-preserving: bodies are ported verbatim apart from the mechanical
rewrites onto ProvisionContext, so the bucket name, the five Fn::GetAtt
attributes and the CORS XML are unchanged.

The CORS and versioning helpers move with the slice; all four of
appendCorsRuleElements' call sites are inside applyBucketCorsConfiguration,
so nothing is left behind.

Unlike the leaf slice, s3Service stays on the monolith: Lambda code from an
S3 location and the ApiGatewayV2 OpenAPI body both still read through it.
Only the two switch arms and the provisioning methods leave.

Delete keeps its shape. A bucket policy has nothing to remove, and a
non-empty bucket still raises BucketNotEmpty so the stack reports
DELETE_FAILED as AWS does, rather than reporting a clean delete.

* refactor(cloudformation): move AWS::Logs::LogGroup into its own provisioner

Behaviour-preserving move of the log group's provision and delete paths.
Unlike the earlier slices this one carries a real update path: the body
decides between reconciling in place and replacing, from the prior physical
id and the recorded FlociLogGroupNameMode, and it infers that mode from the
physical id's shape for stacks persisted before the attribute existed.

Uses ctx.priorPhysicalId() rather than reading it back off the StackResource.
The two are equal on entry, but the method assigns the new physical id before
it finishes, so a context-captured value cannot be invalidated by a later
edit to the body.

UPDATE_ROLLBACK_RESTORED_ATTR moves to CfnRollback, which exists for exactly
this: it was package-private on the monolith and so unreachable from the
provisioners package. The monolith's constant now delegates there, leaving
CloudFormationService's two references untouched.

reconcileLogGroup moves with the slice. isGeneratedName and its prefix helper
are copied, because a type that has not migrated yet still calls them, and
logsService leaves the monolith entirely.

CloudFormationLogGroupProvisionerTest keeps testing through the dispatcher,
now with the provisioner registered. That is load-bearing rather than
decoration: with an empty registry the type would reach the stub arm and the
test would assert against a synthetic id. Going through the dispatcher also
covers the plumbing this migration changed, that existingPhysicalId and
existingAttributes reach ProvisionContext.
2026-08-30 22:15:10 -04:00
Hector Ventura 8034c13106 refactor(cloudformation): move AWS::S3::* into its own provisioner (#2754) (#2794)
Migrates AWS::S3::Bucket and AWS::S3::BucketPolicy out of the switch.
Behaviour-preserving: bodies are ported verbatim apart from the mechanical
rewrites onto ProvisionContext, so the bucket name, the five Fn::GetAtt
attributes and the CORS XML are unchanged.

The CORS and versioning helpers move with the slice; all four of
appendCorsRuleElements' call sites are inside applyBucketCorsConfiguration,
so nothing is left behind.

Unlike the leaf slice, s3Service stays on the monolith: Lambda code from an
S3 location and the ApiGatewayV2 OpenAPI body both still read through it.
Only the two switch arms and the provisioning methods leave.

Delete keeps its shape. A bucket policy has nothing to remove, and a
non-empty bucket still raises BucketNotEmpty so the stack reports
DELETE_FAILED as AWS does, rather than reporting a clean delete.
2026-08-30 22:11:06 -04:00
lex00 26ae4ef78a fix(ec2): honour documented Describe* filters and stop ENIs inheriting instance tags (#2747)
* fix(ec2): honour documented Describe* filters and stop ENIs inheriting instance tags

Six Describe* calls silently ignored documented filter inputs, each an
instance of the same bug shape: an unhandled filter name fell through
matchesFilter's default -> true arm (or, for DescribeAddresses, the
filters parameter was never applied at all), so a filtered call returned
the same unfiltered list as no filter - and Volumes[0]/Vpcs[0] reads
depended on iteration order instead of the filter.

- DescribeSecurityGroups: description
- DescribeVpcs: cidr-block alias for cidr (verified against live AWS
  2026-08-25: accepted, primary CIDR only)
- DescribeVpcEndpoints: vpc-endpoint-state (renamed from the
  undocumented "state" key; no evidence AWS accepts "state")
- DescribeVolumes: attachment.instance-id/device/status/
  delete-on-termination
- DescribeInstances: image-id
- DescribeAddresses: all documented filters this store can back, plus
  the generic tag: family

Also stops DescribeNetworkInterfaces copying the attached instance's
tags into an interface's tagSet: an ENI's tags are its own, and AWS
tags launch-created interfaces only via a RunInstances TagSpecification
with ResourceType=network-interface, which RunInstances now honours.

* fix(ec2): filter addresses on refreshed association state and classify eni- ids in DescribeTags

DescribeAddresses now re-resolves an associated address before the filter
pass, so a public-ip filter is judged against the address the response
carries rather than the one persisted before an instance restart. And
inferResourceType learns the eni- prefix, so a launch-time network-interface
tag shows up under DescribeTags resource-type=network-interface instead of
being classified unknown and dropped.

* test(ec2): pin refresh-before-filter for DescribeAddresses and the ENI tag path through DescribeTags

A public-ip filter now has a regression test across a simulated container
restart: the current bridge IP must match and the pre-restart IP must not,
which fails if filtering ever runs before the association refresh again.
The launch-time ENI TagSpecification test asserts DescribeTags returns the
tag under the interface's own resourceId with resource-type
network-interface, exercising the full RunInstances path rather than the
classification helper alone.
2026-08-30 18:47:38 -04:00
Facundo ParedesandFacundo Paredes 9288769607 fix(stepfunctions): bound a running execution the four ways AWS does (#2782)
* fix(stepfunctions): enforce both TimeoutSeconds clocks

The state machine's top-level TimeoutSeconds was read back by
DescribeStateMachine and copied into activityScheduledEventDetails but
never used as a deadline, so an execution ran to completion however long
it took. Compute the budget once in doExecute, check it before every
state and inside the Wait sleep, and end the execution TIMED_OUT with
stopDate set, no error, no cause, and one ExecutionTimedOut event
carrying States.Timeout and previousEventId 0.

A Task's two bounds were swapped: HeartbeatSeconds acted as the total
wait and TimeoutSeconds was decorative, so "TimeoutSeconds": 5,
"HeartbeatSeconds": 60 failed at 60 seconds instead of 5. awaitToken now
bounds the whole wait with TimeoutSeconds and the gap between heartbeats
with HeartbeatSeconds. SendTaskHeartbeat only logged, so the gap bound
needed a per-token timestamp: the service now records one when the token
is registered and again on every heartbeat, and forgets it when the
waiting task stops listening.

Either clock ends the state as a TaskTimedOutException, which is what
us-east-1 answers for a heartbeat expiry: an ActivityTimedOut event
carrying error States.Timeout and no cause, then an execution reading
FAILED with error States.Timeout and no cause key, over the six-event
history ExecutionStarted, TaskStateEntered, ActivityScheduled,
ActivityStarted, ActivityTimedOut, ExecutionFailed. A Catch still
matches a heartbeat expiry under States.HeartbeatTimeout, so ErrorEquals
matching now asks the failure which names it answers to rather than
comparing one string.

The Wait sleep stops at the execution deadline instead of sleeping its
full duration first, which would have reported the timeout as many
seconds late as the Wait outlasts the budget and left a WaitStateExited
behind for a state AWS never finished. awaitToken discards its token on
the way out; without that the token would stay pending for the life of
the process and a later SendTaskSuccess would be answered as if someone
were still waiting.

Neither timeout carries a cause, so failExecution now reads a null cause
as the failure having none and leaves the key out of both
DescribeExecution and the ExecutionFailed event. The two other failures
that reach it without a cause -- a Fail state with no Cause, and
SendTaskFailure with no cause -- keep reporting an empty one, since
AWS's shape for those is unmeasured.

Refs #2733

* fix(stepfunctions): bound an execution's history and make StopExecution stop it

AWS puts two bounds on a running execution that floci did not: it ends one that
reaches 25,000 history events with States.Runtime, event 25,000 being the
ExecutionFailed event itself, and StopExecution stops the worker rather than
relabelling an execution that goes on to overwrite the status it wrote.

Counting an event against that limit and numbering it in the published history
are two meanings that one AtomicLong was carrying. They are separated here.
producedEventCount counts every event the execution produces, the top-level
flow's and those of its Parallel branches and inline Map iterations alike, and
is what the limit judges. The published history numbers its own events: an
event's id is its position in the list, which makes the list the only authority
for the next id, where the counter and the seal in StepFunctionsService used to
be a second one that agreed with it only at rest. A branch's events are counted
and never built, so executeBranch no longer assembles HistoryEvent objects with
full input and output JSON into a list it throws away.

A Distributed Map runs each item as a child execution on AWS, and a child
execution has a history of its own, so its items are counted against their own
limit rather than the parent's: a Distributed Map over 13,000 items no longer
fails the parent partway through with States.Runtime.

The count is taken before it is judged. Reading it and then taking it let 40
concurrent inline Map iterations through the same check and spent more events
than the execution had.

StopExecution records its abort against a history that need not be in memory.
Executions are stored and histories are not, so a restart in persistent mode
brings a RUNNING execution back with nothing behind it, and the same window
opens between a reset emptying the cache and emptying the store; the abort was
written to the store and then thrown away as a 500.

* fix(stepfunctions): end an execution that spends its budget waiting

A state machine's TimeoutSeconds budget was read only between states and
around the two pauses a definition asks for, a Wait and a Retry backoff. Every
other way a state blocks outlasted it: a Task waiting for its token, a
states:startExecution.sync or ecs:runTask.sync poll, and a Parallel or Map
waiting for its branches. Those executions ended past their budget, and ended
FAILED or SUCCEEDED rather than TIMED_OUT.

Each of those waits now stops at the budget, and the Task path publishes no
failure event for the state it cuts. Measured against us-east-1: a state
machine with TimeoutSeconds 5 over an activity Task whose own TimeoutSeconds
is 60 stops at exactly 5.000 s with status TIMED_OUT, and its history is
ExecutionStarted, TaskStateEntered, ActivityScheduled, ExecutionTimedOut, with
no ActivityTimedOut and no ExecutionFailed.

---------

Co-authored-by: Facundo Paredes <naranjax@MAC-69786.local>
2026-08-30 18:40:07 -04:00
Aniket Shukla 2480daaa09 fix(athena): route database DDL to Glue (#2757)
* fix(athena): route database DDL to Glue

* fix(athena): preserve DDL execution failures
2026-08-30 18:26:48 -04:00
Brian Taylorandlocal 881695ea3b feat(apigatewayv2): OpenAPI import and Terraform-visible API/stage attributes (#2714)
* feat(apigatewayv2): implement ImportApi and ReimportApi

HTTP APIs had no PUT route on /v2/apis or /v2/apis/{apiId}, so ImportApi and
ReimportApi fell through JAX-RS matching to the S3 path-style handler and came
back as NoSuchBucket. Terraform's aws_apigatewayv2_api calls ReimportApi
whenever `body` is set, so any HTTP API defined by an OpenAPI document failed
to apply.

Add an OpenAPI importer for the v2 object model, reusing the swagger-parser
already used by ImportRestApi/PutRestApi on the v1 side. It materialises
routes, integrations and authorizers from x-amazon-apigateway-integration,
x-amazon-apigateway-authorizer, x-amazon-apigateway-any-method and
x-amazon-apigateway-cors, honouring document- and operation-level security.

ReimportApi replaces routes, integrations and authorizers as AWS does, but
leaves API settings an OpenAPI document cannot express (CORS when the spec
carries no x-amazon-apigateway-cors, tags, disableExecuteApiEndpoint) intact,
so a Terraform resource whose cors_configuration lives outside body does not
flap.

Both actions are wired for the restJson1 and JSON 1.1 protocols.

* fix(apigatewayv2): tag stages, not just APIs

TagResource, UntagResource and GetTags read the API id from the last segment of
the resource ARN, so a stage ARN (/apis/{apiId}/stages/{stageName}) yielded the
stage name as the API id and failed with "Invalid API id specified". Parse the
resource path by segment instead, and route the operation to the stage when the
ARN names one.

Stage had no tags field at all, so tags supplied to CreateStage were dropped and
never returned on read. Add it, populate it on create, and serialise it in both
the restJson1 and JSON 1.1 stage representations.

Terraform's aws_apigatewayv2_stage sets tags on create and then reconciles them,
so both halves were needed for a stage with tags to converge.

* feat(apigatewayv2): stage access logging, throttling and API version

Four attributes were accepted on write but dropped on read, so Terraform
re-proposed them on every plan and an aws_apigatewayv2_api/aws_apigatewayv2_stage
pair never converged:

- Api.version, also carried across from an imported document's info.version, as
  AWS does
- Stage.accessLogSettings (CloudWatch destination and format)
- Stage.defaultRouteSettings and per-route Stage.routeSettings (throttling,
  data trace, detailed metrics, logging level)

Throttling and logging fields are boxed rather than primitive: AWS omits unset
knobs instead of defaulting them, and emitting a zero would leave Terraform
seeing a changed value forever.

Stage also gains description, which CreateStage accepted and discarded.

Serialised for both the restJson1 and JSON 1.1 protocols.

* feat(apigatewayv2): honour basepath and failOnWarnings on OpenAPI import

ImportApi and ReimportApi accepted both documented query parameters and then
discarded them, so basepath=prepend or split produced routes at the wrong paths
with no error, and failOnWarnings never rolled anything back.

- basepath now resolves the base path the OpenAPI 3 way — a "basePath" server
  variable first (the first one, if several are declared), otherwise the path
  carried by server.url — and applies ignore, prepend or split. An unrecognised
  value is a BadRequestException rather than silence.
- failOnWarnings turns swagger-parser messages into a 400. Parsing and
  validation now happen before ReimportApi deletes anything, so a rejected
  reimport leaves the existing routes, integrations and authorizers untouched
  instead of gutting the API it was going to replace.
- The Api resource carries the warnings and importInfo the AWS model defines,
  the latter noting definition properties the import ignored.

* fix(apigatewayv2): validate authorizers before reimport mutates, warn on unenforceable security

Two review findings on the OpenAPI importer:

- Authorizer resolution ran while the spec was being applied, so a definition
  that parsed cleanly but declared an unsupported authorizer type — or a REQUEST
  authorizer with caching and no identitySource — was rejected only after
  ReimportApi had already deleted the previous routes, integrations and
  authorizers. Resolution now happens in the planning phase, side-effect free, so
  the rejection leaves the existing definition untouched. This mirrors
  validateImportedAuthorizers on the v1 side.
- A security requirement naming a scheme with no AWS binding — a plain bearer or
  apiKey scheme, or a misspelling — silently produced authorizationType NONE, so
  a document that declares security could yield a publicly invokable route. That
  now raises a warning naming the route and the schemes, which failOnWarnings
  escalates to a 400.

Also adds the braces AGENTS.md requires to the conditionals introduced by the
earlier commits in this branch.

* fix(apigatewayv2): examine ANY-method routes and compound security on import

Two more review findings, both in the warning collection added by the previous
commit:

- The diagnostic passes walked PathItem.readOperationsMap(), which does not
  include x-amazon-apigateway-any-method. An ANY route whose security named an
  unbindable scheme therefore produced no warning, failOnWarnings could not
  reject it, and it was still imported as NONE — the same silent-public-route
  hole the previous commit closed for ordinary operations, left open for the
  route type that matches every method. Route creation and both collectors now
  share one forEachImportedOperation enumeration so they cannot diverge again.
- Several schemes inside a single SecurityRequirement is OpenAPI's AND. A route
  carries one authorizer, so resolveSecurity enforced the first resolvable
  scheme and dropped the rest silently. That now warns, naming the dropped
  schemes and the one actually enforced.

* fix(apigatewayv2): report that imported AWS_IAM routes are not enforced

A sigv4 security scheme imports to an AWS_IAM route, which is what AWS records,
but HTTP API dispatch enforces only JWT and CUSTOM. A document declaring SigV4
therefore produced a route that looks authenticated and is not.

The route keeps AWS_IAM — downgrading it to NONE would misreport the definition
to anything reading the control plane — and the import now warns that the
emulator records the type without enforcing it. The dispatch gap itself predates
this change: CreateRoute has always accepted AWS_IAM unvalidated, and
ApiGatewayExecuteController already notes that v1 dispatch does not implement
AWS_IAM either.

* fix(apigatewayv2): validate jwtConfiguration shape before reimport mutates

jwtConfiguration was copied out of the authorizer extension unchecked, but
audience reaches the store as a List<String> and is cast as one. A scalar
audience — the form the extension is commonly written with — therefore threw a
ClassCastException inside createAuthorizer, after ReimportApi had already
deleted the previous routes, integrations and authorizers.

Normalise it during planning instead: a scalar audience becomes a single-element
list, a list is copied element-wise, and any other shape (or a non-string issuer)
is a BadRequestException raised before anything is deleted.

This was the last unvalidated field in authorizerSpecs; type, identitySource,
result-TTL caching and jwtConfiguration are now all resolved in the planning
phase, so no authorizer defect can reach the mutating half.

---------

Co-authored-by: local <local@example.com>
2026-08-30 17:16:25 -04:00
Brian Taylorandlocal 908d70db3d fix(apigatewayv2): propagate Lambda REQUEST authorizer context to HTTP API backends (#2715)
* fix(apigatewayv2): propagate Lambda REQUEST authorizer context to HTTP API backends

A REQUEST authorizer's response context was parsed only to read isAuthorized
or the policy Effect, then discarded. enforceRequestAuthorizerV2 returned a
bare Response (null meaning "allowed"), so nothing could carry the context to
buildV2ProxyEvent and the backend Lambda received no requestContext.authorizer
at all. A real HTTP API delivers it under requestContext.authorizer.lambda,
which is how an authorizer hands verified identity to the integration, so a
backend that reads it sees an empty object and rejects every authorized
request.

This completes #1011 (issue #812), which added REQUEST authorizer invocation
for HTTP APIs but only wired the allow/deny decision, and brings v2 in line
with #581, which propagated the authorizer context on the v1/REST path. The
WebSocket $connect path already does the same via WebSocketProxyEventBuilder,
so HTTP APIs were the last of the three to drop it.

Return a RequestAuthorizerResult carrying the context, mirroring the
JwtAuthorizerResult the JWT path already threads through, and render it as
requestContext.authorizer.lambda.

Values are not flattened to strings the way the v1/REST path flattens its
authorizer context: an HTTP API hands the context to the integration as JSON.
The developer guide's own simple-response example returns a string, a number,
a boolean, an array and a map, and all five now survive to the backend.

principalId is deliberately left out - where AWS surfaces it in a 2.0 proxy
event was not measured - and an authorizer that allows without returning a
context leaves the authorizer node absent rather than rendering
"lambda": null, for the same reason.

Covered end to end in HttpApiRequestAuthorizerTest (IAM-policy and simple
responses, nesting and scalar types, contextless allow) and at the builder in
BuildV2ProxyEventLambdaAuthorizerTest.

* chore(apigatewayv2): trim comments on the authorizer-context change

Drops narration and change history, keeping only what is not recoverable from
the code: the RequestAuthorizerResult contract, why the context is not
flattened the way the v1/REST path flattens it, and the two intentional
omissions (principalId, absent node rather than "lambda": null).

Per AGENTS.md: prefer self-explanatory code over comments, document
intentional deviations clearly.

* fix(apigatewayv2): brace the authorizer error branch

AGENTS.md requires braces on every conditional.

---------

Co-authored-by: local <local@example.com>
2026-08-30 17:11:06 -04:00
Sam Fakhreddine 02f9754ac7 fix(ui): reconnect the UI sidecar without restarting Floci (#2718)
* fix(ui): reconnect the UI sidecar without restarting Floci

The floci-ui sidecar's FLOCI_ENDPOINT is baked in at container-create
time, but Floci's container IP changes on every restart. adoptExisting()
took over a surviving sidecar verbatim and never compared its endpoint
against the current one, so the sidecar kept polling the previous
instance's address indefinitely. The dashboard reported "Not connected"
with ECONNREFUSED and the only way out was to recreate the sidecar by
hand -- in practice, by restarting the emulator alongside it.

Detect that drift on adoption and recreate the sidecar instead, so
recovery stays entirely within the sidecar's own lifecycle and never
requires disturbing Floci.

Two supporting changes:

- status() re-arms ensureStarted() when the readiness probe fails.
  started was a one-way latch, so a sidecar that was removed, crashed,
  or turned out to be stale left Floci with no path back. The UI polls
  status continuously, which supplies the retry cadence.

- UiServiceConfig gains endpoint() and insecureSkipTlsVerify(). With TLS
  on, the derived endpoint is https://<floci-container-ip>:<port>, which
  the sidecar's Node/Bun proxy rejects: the self-signed certificate has
  no IP SAN for Floci's own container address, so verification fails with
  ERR_TLS_CERT_ALTNAME_INVALID even once the CA is trusted. Trusting the
  CA alone is therefore not enough. endpoint() lets an operator point the
  sidecar at http://<ip>:<port> -- the same server, via the port's
  HTTP/HTTPS protocol detection, with TLS left enabled -- and
  insecureSkipTlsVerify() covers the case where https must be kept. A
  blank or malformed override is a hard error, not a silent fall back to
  the derived endpoint.

* fix(ui): derive http for the sidecar when the host is a bare IP

With TLS enabled the endpoint handed to the UI sidecar was derived as
https://<floci's own container IP>:4566. That address can never appear in
the self-signed certificate: it is assigned at container-create time and
changes on every recreate, and the certificate is generated by a
ConfigSource that runs before CDI, with no Docker client to ask what the
address will be. Every connection therefore failed altname verification —
not chain trust, so mounting the CA would not have helped either — and the
dashboard sat at "Not connected" with no path back. Nothing in the manager
notices: the sidecar is running, so the re-arm added in 8f4fd900 correctly
declines to replace it, and the readiness probe only checks the sidecar's
own port, never the hop that is broken.

Floci's listener does HTTP/HTTPS protocol detection on the same port, so
http:// reaches it with TLS left enabled. That is one hop on an internal
Docker network, not the emulator, and it is the only scheme that works
unattended on the default configuration.

A named host such as host.docker.internal is a DNS SAN on the certificate
and keeps https. So does an IP literal when insecure-skip-tls-verify is
set, since the operator has said explicitly that they want TLS on this hop
and verification is no longer the obstacle.

isIpLiteral mirrors the iPAddress/dNSName distinction CertificateGenerator
already draws, kept local so this package does not depend on the ACM
service for one predicate.

* fix(ui): bracket an IPv6 host so the sidecar endpoint parses

The endpoint was built by concatenating host and port, which produces
http://fd00::2:4566 when the resolver hands back an IPv6 literal — the
port separator is indistinguishable from the address's own colons and no
client can parse it. DockerHostResolver reaches that case through
InetAddress.getLocalHost().getHostAddress() on an IPv6-only host.

Bracket the authority host. Names and IPv4 literals are unchanged.

* fix(ui): reset the async re-arm latch and stop swallowing pre-start failures

Local code review (review-local.ts) against FlociUiManager.java found two
HIGH-severity bugs before this branch reached a PR:

- ensureStartedAsync()'s kicked latch was only reset after a FAILED start,
  never after a successful one. status()'s self-recovery path sets
  started=false and calls ensureStartedAsync() when the sidecar is gone, but
  after any prior successful async start that CAS always failed silently --
  the documented "recovers without Floci being restarted" behavior could
  never actually fire.

- findByName() and replaceIfEndpointDrifted() ran before ensureStarted()'s
  try/catch. A container-runtime failure there (e.g. an unreachable Docker
  socket) escaped uncaught to a synchronous caller, or vanished into a
  discarded Future on the async path, leaving status() reporting
  {started:false, ready:false, error:null} with no diagnostic.

Reset kicked whenever status() re-arms a lost sidecar, and move the whole
body of ensureStarted() into the try/catch so every failure is routed
through lastError. A misconfigured endpoint override's own validation
message (set by replaceIfEndpointDrifted before it rethrows) is preserved
rather than overwritten by the generic describeStartFailure() message.

* fix(ui): validate endpoint override authority and capture fresh-start errors

- validateEndpointOverride() now rejects http:// URLs with no authority
  (e.g. "http://", "http:///path"), which previously passed the bare
  prefix check and were injected as an unreachable FLOCI_ENDPOINT.
- ensureStarted()'s IllegalStateException handler now fills lastError
  when nothing more specific was already recorded, so a fresh start
  (no existing sidecar to adopt) with a blank/malformed endpoint
  override surfaces the validation message instead of error=null.
- Document the new endpoint and insecure-skip-tls-verify settings in
  application.yml's floci.services.ui block.
2026-08-30 15:05:47 -05:00
David ff36141c19 perf(cloudformation): probe Lambda S3 code with headObject, not getObject (#2728)
Resolving an AWS::Lambda::Function whose Code points at S3 checked the
object by calling getObject and discarding the result. S3Object.getData() is
a materialised byte array, so that read the whole package into memory purely
to answer whether it was readable, and LambdaService then read the same
object again for real during CreateFunction. Every stack create or update
paid for two full copies of every Lambda package it provisions.

headObject answers the same question without the body: getObject is
getObjectMetadata plus readFile, headObject is getObjectMetadata alone. Both
resolve the object through that same metadata lookup, so a missing key or
bucket still fails the resource exactly as before, and the failure behaviour
added for #2648 is unchanged.

Closes #2675
2026-08-30 15:03:30 -05:00
Ahmed khaled e2e69f65f5 feat(core): add configurable mock responses for stub AI services (#2765)
* feat(core): add configurable mock responses for stub AI services

Adds AiMockConfigLoader, a shared mock-response config file (path via
AI_MOCK_CONFIG env var or floci.ai-mock-config-file) that lets callers
override Textract/Comprehend/Rekognition's fixed stub responses on a
per-call basis, so application logic that branches on detection
results (e.g. "escalate if sentiment is NEGATIVE") can be exercised
end-to-end against floci. Mirrors Step Functions' SFN_MOCK_CONFIG
mechanism (same mtime-cached reload without restart), but is shared
across three services and never throws: a missing file, unset env
var, or no matching entry all fall back to the existing default stub,
since mocking here is opt-in on top of an always-available default,
not the only way to invoke an action.

Lookup keys: Comprehend keys on the exact Text value; Textract and
Rekognition key on "<Bucket>/<Name>" from S3Object (a Bytes-backed
image/document has no such key, so mocking only applies to
S3Object-based calls). CompareFaces keys off SourceImage only. The
Textract async Start*/Get* job flow does not support mocking.

Closes #2764

* fix(core): catch unchecked exceptions when loading AI mock config

Path.of(path) throws InvalidPathException (unchecked) for a malformed
path string, and filesystem access can raise other unchecked
exceptions IOException alone doesn't cover. load() only caught
IOException, so a bad AI_MOCK_CONFIG value would propagate past the
loader and turn a normal Comprehend/Textract/Rekognition request into
a 500 — the exact opposite of this loader's contract (mocking is
optional; it must never break the default stub). Wrapped the load
logic in an outer catch (RuntimeException) that falls back the same
way the existing IOException cases already do.

Addresses review feedback on #2765.
2026-08-30 14:44:12 -05:00
lex00 0b46d804c0 feat(codegurureviewer): repository association lifecycle with tagging (#2741)
* feat(codegurureviewer): repository association lifecycle with tagging

AssociateRepository, DescribeRepositoryAssociation, DisassociateRepository and
ListRepositoryAssociations over CodeGuru Reviewer's REST JSON protocol, with
TagResource/UntagResource/ListTagsForResource served on the shared /tags path.
The Repository union is validated as AWS validates it (exactly one provider,
Owner/ConnectionArn for third-party providers, KMSKeyId required for
CUSTOMER_MANAGED_CMK), duplicate associations report ConflictException, and an
association is Associated from the first read so provider waiters complete
immediately.

* fix(codegurureviewer): paginate ListRepositoryAssociations, register the model for reflection, generate the action table

ListRepositoryAssociations now honours MaxResults and NextToken with real
pagination (the filter query keys stay singular - ProviderType, State, Name,
Owner - matching the wire mapping the API reference documents for the plural
request fields). RepositoryAssociation carries @RegisterForReflection so
native-image persistence survives a restart. The docs page now uses the
generated action-table markers, has its service-matrix row, and maps the
hyphenated codeguru-reviewer signing name to its doc slug.

* fix(codegurureviewer): reject a malformed MaxResults with ValidationException, not 404

A JAX-RS Integer binding fails during parameter conversion, so
MaxResults=abc surfaced as 404 before the handler ran. The parameter is
now bound as a String and parsed in the controller, routing bad values
through the modeled 400 ValidationException.
2026-08-30 14:44:08 -05:00
Matheus André eaecb36425 fix(eks): implement cluster restoration after restart to maintain state (#2780)
Signed-off-by: Matheus André <matheusandr2@gmail.com>
2026-08-30 14:44:05 -05:00
Matheus Oliveira cfe8566511 fix(cloudwatch): evaluate alarms over CloudWatch's wider evaluation range (#2771)
Querying exactly EvaluationPeriods buckets fell back to TreatMissingData as soon
as one was empty. Real datapoints reaching further back now decide the state
first, and the premature-transition rule is honored.

Fixes #2700

Signed-off-by: Matheus Oliveira <matheus.6148@gmail.com>
2026-08-30 14:40:40 -05:00
Allen Sanborn 2a014d2add fix(s3): accept the log-delivery-write canned ACL (#2653)
PutBucketAcl/PutObjectAcl rejected x-amz-acl: log-delivery-write with
"Unsupported x-amz-acl value", even though it is a standard AWS canned
ACL (Terraform's aws_s3_bucket_acl / access-logging modules send it to
grant the S3 log-delivery service group permission to write access logs
into a bucket). Of the eight AWS canned ACL values, this was the only
one missing from cannedObjectAclXml's switch - the rest were already
handled.

Add the log-delivery-write case, translating it to WRITE and READ_ACP
grants for the well-known LogDelivery group URI
(http://acs.amazonaws.com/groups/s3/LogDelivery), following the same
groupGrant pattern used for public-read/public-read-write.
2026-08-30 14:40:35 -05:00
Abarnaa Sree N 6a1d86e43f fix(cloudformation): resolve IAM assume role policy intrinsics (#2630) 2026-08-30 14:40:31 -05:00
Aniket Shukla 2e5935d764 fix(s3): prevent compliance retention downgrade (#2755)
* fix(s3): prevent compliance retention downgrade

* fix(s3): allow updates after compliance expiry
2026-08-30 14:40:28 -05:00
Matheus André 2bc37365dc fix: update .gitignore to include .mission/ for shared tooling visibility (#2750) 2026-08-30 14:40:25 -05:00
Sam Fakhreddine 51edccacbf fix(cloudformation): adopt managed policy on stack update (#2717)
* fix(cloudformation): adopt managed policy on stack update

A stack UPDATE whose template kept an AWS::IAM::ManagedPolicy's name
unconditionally re-ran CreatePolicy, failed with EntityAlreadyExists,
and rolled the whole stack back — LZA's second-pass OperationsStack
died on exactly this (AWSAccelerator-SessionManagerLogging).

Mirror the role provisioner's adopt path: when the stack already owns
the policy ARN and identity matches the stored PolicyId, publish the
new document as the default version instead, pruning oldest non-default
versions at IAM's 5-version cap so repeated updates never hit
LimitExceeded, and detach roles dropped from the template. Rollback
cleanup now only deletes the policy when this attempt created it and
never detaches attachments that predate the attempt.

* fix(cloudformation): close managed-policy adopt gaps in update rollback

Require PolicyId to match on adopt: a resource that predates PolicyId
tracking would silently adopt any policy sharing its ARN, including one
deleted and recreated under the same name by someone else. Also restore
the prior default policy version and reattach detached-as-obsolete roles
when a role attach fails mid-update, and treat NoSuchEntity on the
obsolete-role detach as idempotent like the delete path already does.

* fix(cloudformation): restore managed-policy rollback on obsolete-role detach failure

A non-NoSuchEntity detachRolePolicy failure while dropping an obsolete role
during a managed-policy update escaped before the attach loop's rollback ran,
since it lives in an earlier try/catch in the same method. The policy's new
default version and any already-detached roles were left unrestored even
though the stack reported UPDATE_ROLLBACK_COMPLETE.

Extract the attach loop's restore logic into
restoreManagedPolicyOnUpdateFailure and call it from the detach loop's catch
too, so any failure after the version bump restores the prior default
version and reattaches roles detached so far in the same pass.

* fix(cloudformation): surface failed managed-policy rollback cleanup as UPDATE_ROLLBACK_FAILED

A compensating reattach/version-restore failure during a managed-policy update
rollback was tracked in cleanupSucceeded but never written to
UPDATE_ROLLBACK_FAILURE_ATTR, so the caller assumed the resource was fully
restored and reported UPDATE_ROLLBACK_COMPLETE even when the new policy
document or a role attachment was left in a partially-rolled-back state.

* fix(cloudformation): recreate pruned policy version content on update rollback

Pruning an old policy version to stay under IAM's 5-version cap happened
before the fallible role attach/detach operations that can trigger a
rollback. A failure there restored only the default version and deleted
the stray new version, but never recreated the pruned version's content —
the stack reported UPDATE_ROLLBACK_COMPLETE while having permanently
destroyed a policy version that existed before the update.

Deleting the stray version now runs after restoring the prior default
(real AWS forbids deleting the current default version), which frees the
slot needed to recreate each pruned version's document as a new
non-default version, so a full rollback genuinely restores what existed
before the update instead of just claiming to.
2026-08-30 14:26:37 -05:00
lex00 7b6266e902 feat(connect): instance management (CreateInstance family, attributes, storage configs, tags) (#2740)
* feat(connect): instance management (CreateInstance family, attributes, storage configs, tags)

Amazon Connect control plane: CreateInstance/DescribeInstance/ListInstances/
DeleteInstance, instance attributes, instance storage configs, and resource
tagging over REST JSON, registered under the connect signing name. Instances
report ACTIVE from the first read so the Terraform provider's status poll
completes immediately.

17 integration tests cover the lifecycle, attribute validation against the
AWS InstanceAttributeType/DirectoryType/InstanceStorageResourceType enums,
storage-config association, and tag round-trips.

* docs(connect): register connect in the action-table catalog

The Action-tables CI gate requires every service registered in
ResolvedServiceCatalog to have an index row and a generated action table;
connect's page was hand-written and unregistered.

* fix(connect): validate boolean instance attribute values

UpdateInstanceAttribute stored any nonblank string while the inbound/outbound
flags coerced it to boolean, so an invalid value read back inconsistently
across DescribeInstanceAttribute and DescribeInstance. Reject anything but
true/false with InvalidParameterException and store the canonical lowercase
form.
2026-08-30 15:15:49 -04:00
David 91c1042656 test(stepfunctions): restore AslExecutorTaskHistoryEventsTest compilation (#2729)
main has not compiled its test sources since 08e532ab. AslExecutor gained a
CustomResourceLiveness constructor parameter in #2688, which updated the
call sites that existed then, while #2703 added
AslExecutorTaskHistoryEventsTest constructing AslExecutor directly. Neither
branch touched the other's file, so each was green alone and the pair broke
the build on merge.

Pass the mock its sibling tests already pass. AslExecutorErrorTerminationTest
and AslExecutorCustomResourceLivenessTest construct AslExecutor this way, so
this brings the new test into line rather than introducing a pattern.

./mvnw clean test-compile fails on main at 8a705d0a and succeeds with this;
AslExecutorTaskHistoryEventsTest then runs and passes.
2026-08-30 15:09:38 -04:00
Kenshin Okinaka fc3c28323a feat(ses): support v2 tenant suppression attributes and tenant-scoped suppression list (#2743)
* feat(ses): support v2 tenant suppression attributes and tenant-scoped suppression list

* fix(ses): guard runWithTenant against a null TenantName

* fix(ses): collapse an absent TenantName to the service-level message on tenant suppression ops

* fix(ses): collapse an absent TenantName to the service-level message on the remaining tenant ops

* fix(ses): collapse an empty TenantName to the service-level message on GetTenant/DeleteTenant
2026-08-30 14:53:06 -04:00
Hector Ventura 12a6feb0c9 refactor(cloudformation): move the single-service types to provisioners (#2744)
Migrates the seven resource types whose provisioning is one service call:
KMS Key and Alias, SSM Parameter, ECR Repository, Pipes Pipe, Kinesis
Firehose DeliveryStream, and CDK Metadata. Behaviour-preserving move: the
bodies are ported verbatim apart from the mechanical rewrites onto
ProvisionContext, so physical ids, Fn::GetAtt keys and delete calls are
unchanged.

Each provisioner injects only the service it wraps, so five service fields
leave the monolith. Their constructor parameters stay, unused, until the
final cleanup drops them all at once; shrinking the signature now would
churn the fixture for no gain.

parseCfnTags, blankToNull and parseIntProp are copied rather than shared,
because each still has callers in the monolith. ProvisionContext.resolveTags
is deliberately NOT substituted for parseCfnTags: it skips a blank key that
parseCfnTags keeps, orders entries by insertion rather than hash, and
resolves the whole property so an Fn::If around the list works. Adopting it
is a behaviour change and belongs in its own PR.

CDK::Metadata gains a real provisioner rather than staying on the stub arm.
The stub reports CREATE_COMPLETE with a synthetic id and a fake Arn
attribute; the real type has no attributes at all.

Tests assert the exact physical id and the exact Fn::GetAtt keys against
each type's registry schema, plus delegated arguments and delete calls.
Asserting status alone would pass against the stub arm.
2026-08-30 13:51:35 -05:00