Commit Graph
6653 Commits
Author SHA1 Message Date
mrfelek 5bc31a1ef4 feat(eks): honour pods' zone topology spread constraints in EKS Auto Mode's room and launches (#9894)
EKS Auto Mode ignored pods' zone topology spread constraints: withoutRoom
counted a node in any zone as room for a pod the scheduler then refused
for its skew, and a new node went to the first zone that fit, so pods
that must spread kept getting nodes in one zone.

Auto Mode now reads each DoNotSchedule zone constraint and checks the
skew as the scheduler does, counting only pods on nodes the pod's node
selector and required affinity accept, over the zones the pool can
launch in. Room counts only in a zone the spread allows, and a spreading
pod's node goes to the allowed zone with the fewest matching pods, a
group sharing one node of the type that holds it. Pods without a spread
are placed as before.

Part of #8914
2026-12-01 22:42:27 -04:00
dependabot[bot] 0a3188e744 chore(deps): bump the actions-minor-patch group across 1 directory with 8 updates (#9950)
Bumps the actions-minor-patch group with 8 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [graalvm/setup-graalvm](https://github.com/graalvm/setup-graalvm) | `1.6.7` | `1.6.10` |
| [docker/login-action](https://github.com/docker/login-action) | `4.7.0` | `4.8.0` |
| [actions/setup-java](https://github.com/actions/setup-java) | `6.1.0` | `6.3.0` |
| [azure/setup-helm](https://github.com/azure/setup-helm) | `5.0.1` | `5.1.0` |
| [anchore/sbom-action](https://github.com/anchore/sbom-action) | `0.24.3` | `0.24.4` |
| [anchore/scan-action](https://github.com/anchore/scan-action) | `7.4.2` | `7.4.3` |
| [aws-actions/amazon-ecr-login](https://github.com/aws-actions/amazon-ecr-login) | `2.1.7` | `2.2.0` |
| [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) | `4.1.2` | `4.1.4` |



Updates `graalvm/setup-graalvm` from 1.6.7 to 1.6.10
- [Release notes](https://github.com/graalvm/setup-graalvm/releases)
- [Commits](https://github.com/graalvm/setup-graalvm/compare/27b360dbb857524eaf0b4c4cef364d38e5b4f173...60e76998d25690099182b796e99b8804da582d90)

Updates `docker/login-action` from 4.7.0 to 4.8.0
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/81c6f93d4bc991e510b342a00b419b3bb4efc5c6...8aa5831fb8d48d8f76594c7ddde61ae58019f550)

Updates `actions/setup-java` from 6.1.0 to 6.3.0
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/b843ebf9b913146b38da2eaa7aeddf76074ae1ad...d1374f8ac74474200d16ef8ecee22c7ae7a51880)

Updates `azure/setup-helm` from 5.0.1 to 5.1.0
- [Release notes](https://github.com/azure/setup-helm/releases)
- [Changelog](https://github.com/Azure/setup-helm/blob/main/CHANGELOG.md)
- [Commits](https://github.com/azure/setup-helm/compare/9bc31f4ebc9c6b171d7bfbaa5d006ae7abdb4310...2f5e7bc67f1f9972ab16657bb795f36d8f04de0e)

Updates `anchore/sbom-action` from 0.24.3 to 0.24.4
- [Release notes](https://github.com/anchore/sbom-action/releases)
- [Changelog](https://github.com/anchore/sbom-action/blob/main/RELEASE.md)
- [Commits](https://github.com/anchore/sbom-action/compare/66cbf4bc1f1c0d2edc94016e65bc221b6bb0ad6c...dfcb83b97731532d72be422cbc51ee64adb6fd56)

Updates `anchore/scan-action` from 7.4.2 to 7.4.3
- [Release notes](https://github.com/anchore/scan-action/releases)
- [Changelog](https://github.com/anchore/scan-action/blob/main/RELEASE.md)
- [Commits](https://github.com/anchore/scan-action/compare/27805bf3b4e84b4a5c980df22ed233c00390a439...11983a512817154c80a9db660c1a184be7513ed6)

Updates `aws-actions/amazon-ecr-login` from 2.1.7 to 2.2.0
- [Release notes](https://github.com/aws-actions/amazon-ecr-login/releases)
- [Changelog](https://github.com/aws-actions/amazon-ecr-login/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws-actions/amazon-ecr-login/compare/03f1aad4c6c7ffd436567f42f9384779290529bd...7290e214a610b32bc0eef81748948b6d466a8783)

Updates `sigstore/cosign-installer` from 4.1.2 to 4.1.4
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](https://github.com/sigstore/cosign-installer/compare/6f9f17788090df1f26f669e9d70d6ae9567deba6...881c63bd87e38389154debd8331404ce7ca8a3ab)

---
updated-dependencies:
- dependency-name: graalvm/setup-graalvm
  dependency-version: 1.6.10
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions-minor-patch
- dependency-name: docker/login-action
  dependency-version: 4.8.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions-minor-patch
- dependency-name: actions/setup-java
  dependency-version: 6.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions-minor-patch
- dependency-name: azure/setup-helm
  dependency-version: 5.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions-minor-patch
- dependency-name: anchore/sbom-action
  dependency-version: 0.24.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions-minor-patch
- dependency-name: anchore/scan-action
  dependency-version: 7.4.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions-minor-patch
- dependency-name: aws-actions/amazon-ecr-login
  dependency-version: 2.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions-minor-patch
- dependency-name: sigstore/cosign-installer
  dependency-version: 4.1.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions-minor-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-12-01 20:41:43 -06:00
dependabot[bot] 9707be46b9 chore(deps): bump quarkus.platform.version from 3.40.1.1 to 3.40.1.2 (#9949)
Bumps `quarkus.platform.version` from 3.40.1.1 to 3.40.1.2.

Updates `io.quarkus.platform:quarkus-bom` from 3.40.1.1 to 3.40.1.2
- [Commits](https://github.com/quarkusio/quarkus-platform/compare/3.40.1.1...3.40.1.2)

Updates `io.quarkus.platform:quarkus-maven-plugin` from 3.40.1.1 to 3.40.1.2
- [Commits](https://github.com/quarkusio/quarkus-platform/compare/3.40.1.1...3.40.1.2)

---
updated-dependencies:
- dependency-name: io.quarkus.platform:quarkus-bom
  dependency-version: 3.40.1.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: io.quarkus.platform:quarkus-maven-plugin
  dependency-version: 3.40.1.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-12-01 20:41:22 -06:00
Daniël van Ziel 6fa713efd5 fix(bedrock): seed the inference profiles of Claude Sonnet 4.6, including global (#9956) 2026-12-01 22:40:27 -04:00
Ignas 9e5ab0c3ca fix(rds): give the PostgreSQL master user rds_superuser with ADMIN OPTION (#9953)
The master user joined rds_superuser without ADMIN OPTION. From
PostgreSQL 16, CREATEROLE no longer lets a role add members to a role
it holds no ADMIN OPTION on, so the master could not GRANT rds_superuser
to another role, which RDS documents a member of rds_superuser can do.
The master now joins rds_superuser WITH ADMIN OPTION, on initialization
and again after a snapshot restore.

Closes #9952
2026-12-01 22:35:07 -04:00
Jonathan Morley 3f351fa0ca fix(cloudformation): create an RDS DB cluster in the subnet group its template names (#9944)
AWS::RDS::DBCluster read DBSubnetGroupName only to decide whether an
update replaces the cluster, and created the cluster with no subnet
group, so it and its members always landed in the default group and the
default VPC. With FLOCI_SERVICES_RDS_ENDPOINTS_IN_VPC=true their
endpoints were then served where clients in the declared VPC could not
reach them.

The cluster is now created in the group the template names, a Ref to an
AWS::RDS::DBSubnetGroup or a group's name, as CreateDBCluster places it.
A group that does not exist fails the resource with CreateDBCluster's
DBSubnetGroupNotFoundFault message, and a change of group replaces the
cluster into the new one, as the property is create-only.

Closes #9938
2026-12-01 22:32:11 -04:00
mrfelek 637de6da92 fix(ec2): make a systemd guest's mounts shared before its init starts, as systemd does on an instance (#9907) 2026-12-01 22:28:32 -04:00
Hector Ventura b6038ed1af feat(core): remove the POST /_floci/state/nuke alias (#9958)
POST /_floci/state/nuke, and its /_localstack/state/nuke twin, was a
second name for state/reset. Every Floci emulator now settles on one
reset path, POST /_floci/state/reset; floci-az, floci-gcp and floci-oci
drop the alias in their own changes. The removed path answers the
control plane's JSON 404 catch-all, so a caller still on it should call
/_floci/state/reset instead, which behaves the same.
2026-12-01 22:27:18 -04:00
Allen Sanborn 48176e6b63 fix(ec2): keep Floci's default route when it joins a VPC network (#9942)
Floci joined each VPC's Docker network at the default gateway priority,
the same as its own network. Docker gives the default route to the
highest priority and breaks a tie by network name, so a VPC network
named floci-aws-... took the route from a compose network such as
myproject_default. The published port then stopped delivering replies,
and DeleteVpc or tofu destroy waited until the client timed out.

Floci's own container now joins a VPC network with GwPriority -1 (Engine
API 1.48), through a ContainerNetwork subclass registered for native
reflection; older engines ignore the field. Instance containers are
unchanged.

Closes #7422
2026-12-01 22:21:58 -04:00
Priamo Germosen d5c37bf56b feat(elbv2): give load balancers addresses of their own in their VPC (#9947)
With floci.services.elbv2.addresses-in-vpc on, each Application and Network
Load Balancer gets a node in each of its subnets, as Elastic Load Balancing
"creates a load balancer node in each zone that you specify" and a load
balancer "has one IP address per enabled Availability Zone". So two load
balancers can both listen on 443, a TCP listener needs no port of its own on
Floci's address, and a listener on a port Floci holds itself is served too.

- Each node is a relay container at an address EC2 leases from the subnet
  (VpcAddressRelays, with one forward per listener port). It forwards each
  port to a socket of that listener's own on Floci, which serves that
  listener alone: HTTP needs no Host header to pick it, HTTPS terminates
  with the listener's certificates and reloads them when they change, and
  TCP relays as on the shared port.
- ElbV2Service serves the nodes after every change to a load balancer's
  subnets or listeners and at restart, under a per-load-balancer lock, so
  the last change's listeners are the ones served. A node's relay id
  follows from the load balancer and subnet; only its address is kept, on
  the Availability Zone entry, so a restart serves it at the same address.
  SetSubnets removes the nodes of subnets left behind, and a delete removes
  them all.
- Floci's DNS server answers the load balancer's name with its node
  addresses, a node's own <zone>.<name> with that node's, and a Route 53
  alias to the load balancer with its nodes (a Network Load Balancer's
  included), with the 60 second TTL the ELB user guide gives.
- The listener ports on Floci's address keep working as before.

The setting needs Docker-backed VPC networks and does nothing in mock mode.
A Gateway Load Balancer gets no nodes.

Closes #5870
2026-12-01 22:13:32 -04:00
Priamo Germosen 6b0f628760 fix(iam): read the tags of IAM's resource types beyond roles and users (#9946)
The request-resources table gives aws:ResourceTag keys to eight IAM resource types and Floci stores the tags of all
eight, but IAM's tag reader answered for roles and users alone, and regen_iam_condition_keys.py listed every resource
tag pair no RoleName or UserName names as notRead ("no member names a stored role or user whose resource tags can be
read"), which IamConditionKeys strips from the request's context. A condition on aws:ResourceTag for a customer managed
policy, an instance profile, an OpenID Connect or SAML provider, a server certificate or a virtual MFA device was
dropped.

The condition-key generator now puts such a pair in a new fromResourceTags section when iam-request-resources.json
resolves the action's request to a resource of one of the pair's types that it gives the key's prefix (resourceTagKeys):
the condition resolver reads it through its generic resource tag reading, from what IAM holds on the resource the
request names. A create the generated tag-on-create table lists (iam-tag-on-create.json) acts on a resource that does
not exist yet and stays notRead, with the reason a role's or a user's create has. 59 pairs move; none keeps the old
reason. --check re-derives the section from the two tables, and the IAM data drift gate checks the condition keys when
either changes.

IamService.heldTags reads a policy's, instance profile's, OpenID Connect provider's, server certificate's or virtual MFA
device's tags, and SAMLProviderService.heldTags a SAML provider's, each read in place in the ARN's account, a
pre-multi-account entry of the default account included; an instance profile or a server certificate, stored by its
name, only when its ARN, path included, is the one named. IamStoredResourceArns answers them.

The Service Reference now lists IAM's workload identity actions, which pinned botocore 1.44.14 does not model yet, and
the generator stopped on their tagging actions' request tags. Like classify's "no SDK operation of this name",
request_tag_context now skips an action botocore does not model, which no request Floci receives names; the table is
synced with their pairs in notRead.

IamResourceScopedPolicyEnforcementIntegrationTest checks that a caller allowed the read of each of five types only on
resources tagged team=blue reads the blue one and is refused the red one, and
ServerCertificateIamEnforcementIntegrationTest the same of certificates; IamStoredResourceArnsTest the reads and an
instance profile named by another path; test_regen_iam_condition_keys.py the new routing, the create kept unread and the
skipped tagging action.
2026-12-01 19:33:08 -04:00
Hector Ventura 6fc8eb1eec chore(ci): mention the contributors of each release in its notes (#9841)
A local semantic-release plugin, after the release notes generator, looks
up the pull request each squash-merged commit names, 100 per GraphQL
request, and appends a Contributors section: every human author by
@handle, alphabetically, with the ones whose first merged pull request
is in the release called out above the list. It reaches CHANGELOG.md,
the release commit and the GitHub Release alike. A GitHub API failure
leaves the section out instead of failing the release. CI runs its Node
tests with the other release script tests.
2026-12-01 19:08:27 -04:00
Divya 97cd4c870c fix(ssm): keep a parameter's type when PutParameter overwrites it without one (#9898)
PutParameter defaulted a missing Type to String before looking at the
stored parameter, so an overwrite without a type turned a SecureString
into a plaintext String and a StringList into a String. A missing Type
now passes through, and the overwrite keeps the stored type, as AWS
does; a create without a Type is still stored as a String, which the
docs mark as a Floci difference.

Closes #9941
2026-12-01 19:02:15 -04:00
Jackson PriceandAndre Kurait 15d3a65e9e perf(ci): paginate verification across the complete commit range (#9802)
The signed-commit check read verification from the PR commits endpoint,
which stops at 250 commits, so a larger PR fell back to one request per
remaining commit. It now reads the paginated compare range for the exact
base and head, keeping only the verification fields. The local no-merges
commit list still decides what must be verified, a missing result still
needs a verified per-commit answer, and an API failure still fails
closed. The job runs the guard's regression tests first.

Co-authored-by: Andre Kurait <AndreKurait@gmail.com>
2026-12-01 18:44:45 -04:00
Priamo Germosen 6f4bfb0fc2 refactor(ec2): let a VPC address relay forward several ports (#9943)
A prep step for #5870, where each load balancer node gets an address of its
own in a subnet and serves every listener of its load balancer there. A
relay so far listened on one port, the shape an RDS endpoint has.

VpcAddressRelays.Relay now carries a list of forwards, each a port it
listens on and the target port it relays to. One forward runs socat as
before, so RDS relays keep the same container; several run one socat each
under a shell; none keeps the container, and so the address, held with
nothing listening, as a load balancer without listeners still has its
node addresses. targetsPort looks at every forward. A placement written
down in the old single-port shape still reads back, as one forward.

The storage adapter for placements moves from RdsEndpointAddresses into
VpcAddressRelays.Placements.stored, for the load balancer relays to use
as well.

Refs #5870
2026-12-01 18:41:11 -04:00
Niels Kootstra 4536b85d67 fix(elbv2): validate target health intervals (#9924)
CreateTargetGroup and ModifyTargetGroup now refuse a
HealthCheckIntervalSeconds outside the model's 5 to 300 with a 400
ValidationError, before the target group or its health checks change.
The interval and timeout checks share one range helper, and a
CloudFormation rollback can still restore an interval a group saved
before the range was enforced.
2026-12-01 18:37:46 -04:00
Priamo Germosen fe03f90e5e fix(iam): read the bucket tag keys S3, S3 Tables and S3 Vectors name after a type (#9937)
The Service Reference gives S3's bucket and object s3:BucketTag/${TagKey}, which "Filters access by the tags associated
with the bucket", S3 Tables' table bucket and table s3tables:TableBucketTag/${TagKey}, S3 Vectors' vector bucket and
index s3vectors:VectorBucketTag/${TagKey}, and S3's access point s3:AccessPointTag/${TagKey}. The generator read
resource-tag keys only as <namespace>:ResourceTag/ and RDS's <namespace>:<type>-tag/, so none of them was read and a
condition on one never matched.

A key named after its own type, <namespace>:<Type>Tag/ (condition key names are not case-sensitive), now joins that
type's resourceTagKeys as RDS's do: the bucket's s3:BucketTag/. One named after another type whose resource path the
type's continues goes into a new containerTagKeys section, with that type's format in the type's variables
(parent_format, as tagParents builds a parent's): an S3 object's s3:BucketTag/ reads its bucket's tags, an S3 Tables
table's s3tables:TableBucketTag/ its table bucket's and an S3 Vectors index's s3vectors:VectorBucketTag/ its vector
bucket's, while their aws:ResourceTag/ keeps the table's and the index's own. The S3 User Guide says so of each: the S3
Tables key "acts on the tags applied to the table bucket that contains that table", the S3 Vectors key "references tags
associated with the vector bucket containing that index, while the aws:ResourceTag/tag-key will reference the tags of
the index itself", and s3:BucketTag is "applicable only after ABAC is enabled on your bucket", which S3's reader already
holds to. s3:BucketTag on an access point's object, whose ARN names no bucket, is not read. --check validates each entry
against the formats, --verify against the reference; the table changes in those entries alone.

IamConditionContextResolver.resourceTags adds the container keys, read from the stored tags of the container's ARN, and
S3's bucket policy checks read them with the bucket's ABAC tags: a request's own and a copy's of its source (CopyObject,
UploadPartCopy), which read no bucket tags before, aws:ResourceTag included. Floci does not model S3 access points, so
their s3:AccessPointTag and aws:ResourceTag read nothing, as before.

The Service Reference now gives athena:GetQueryResultStream the workgroup type, which the IAM data drift gate this
change runs reads: the table is synced, and no request member names the workgroup. docs/services/iam.md no longer lists
s3:GetBucketTagging, s3:DeleteBucket and DeleteBucketTagging as reading the bucket's tags apart, which #9920 removed.

S3BucketTagIamEnforcementIntegrationTest runs each of its checks with aws:ResourceTag/team and s3:BucketTag/team, a
cross-account copy among them; S3TablesIamIntegrationTest and S3VectorsIamIntegrationTest check that an allow on the
bucket's team reads that bucket and a table or index of it tagged otherwise, and refuses another bucket and its table or
index tagged with the team; IamConditionContextResolverTest that a table's two keys hold its bucket's and its own tags;
RequestResourceMembersTest the section's parse, lookup and refusals; test_regen_iam_request_resources.py the reading,
the vendored entries and the validation.
2026-12-01 18:11:34 -04:00
Allen Sanborn 62546d4697 fix(ec2): keep deleted transit gateway attachments describable as deleted (#9936)
DeleteTransitGatewayVpcAttachment and DeleteTransitGatewayPeeringAttachment
removed the attachment, so a following Describe returned NotFound and the
Terraform provider's delete waiter, which polls for State deleted, failed.
The record now stays with State deleted. A deleted attachment no longer
counts toward gateway deletion, duplicate-attachment checks, route table
associations or VPC and subnet dependencies; tagging or modifying it
reports NotFound, a deleted VPC attachment drops its association and
tags, and deleting a deleted peering attachment again is a no-op.

Closes #7768
2026-12-01 17:27:08 -04:00
Jackson PriceandAndre Kurait ec923a86bd feat(cloudformation): apply RecursiveLoop to Lambda functions (#9935)
AWS::Lambda::Function accepted RecursiveLoop but ignored it. The
provisioner now validates the value before changing the function and
applies it through PutFunctionRecursionConfig, on create and when an
update changes it, keeping the same physical function. Removing a value
the template declared restores Terminate, and a stack that never
declared it leaves a setting made through the Lambda API in place.

Co-authored-by: Andre Kurait <AndreKurait@gmail.com>
2026-12-01 16:41:38 -04:00
Allen Sanborn 69c3af4571 feat(eks): ListUpdates, subnet and security group updates, egress mode and deletion protection (#9877)
Adds the parts of the EKS update surface UpdateClusterConfig left out.
ListUpdates lists a cluster's update ids, filtered by add-on or node
group and paged. UpdateClusterConfig now applies changed subnet and
security group lists as a VpcConfigUpdate (at least 2 subnets in the
cluster's VPC, at most 5 security groups), and a CloudFormation update
applies them in place. controlPlaneEgressMode is kept, reported and
updatable, and deletionProtection refuses DeleteCluster while it is set,
checked under the same lock as the delete. A request mixing update types
in one resourcesVpcConfig is refused, as EKS does.

Refs #5640
2026-12-01 16:16:32 -04:00
Michael Edwards af64b857fe fix(sqs): find GetQueueAttributes queues by the account in their URL (#9921)
GetQueueAttributes looked the queue up in the caller's account, so a
caller in another account than the queue's owner got NonExistentQueue
although it could send to and receive from the same URL. It now finds
the queue by the account in its URL, as the message calls do, and
QueueArn names the queue's owner rather than the caller.

Closes #9101
2026-12-01 15:40:13 -04:00
Jackson PriceandHai Yan dea4bc889e fix(docker): recover named containers after a lost create response (#9916)
Docker can finish creating a named container after the client stops
waiting for its ID. Floci already adopted that container when a
replayed create hit a name conflict, but a read timeout or other
transient I/O failure surfaced directly and left it untracked. A named
create now looks the name up after either failure and adopts only the
container carrying this call's attempt label; an answered HTTP error
other than 409 is returned at once, and a lookup that finds nothing
within one Docker API timeout returns the original error.

Co-authored-by: Hai Yan <8153134+oeyh@users.noreply.github.com>
2026-12-01 15:33:37 -04:00
Priamo Germosen 46252ae13e fix(iam): read an S3 bucket's tags once ABAC is enabled, and give its objects them (#9920)
The request-resources table gives aws:ResourceTag keys to S3's bucket and object types, but S3 gave IAM no tags, so an
aws:ResourceTag condition on an S3 action never matched. The S3 User Guide says "you can control access to S3 resources
based on the bucket's tags", that S3 "evaluates this condition key only after you enable ABAC on your bucket", and its
example bucket policy conditions s3:GetObject on a bucket's objects on the bucket's tag.

tools/aws/fetch_s3_tag_inheritance.py vendors those sentences and the example's object resource and condition key into
tools/aws/sources/s3-tag-inheritance.json, refusing a reworded page. TAG_INHERITANCE_SOURCES grants it for s3, beside
API Gateway, and tag_parents gives the object type, whose path continues the bucket's past a '/', the bucket as its tag
parent.

S3StoredResourceArns reads S3Service.storedTags: the tags of the general purpose bucket the ARN names, only while its
ABAC status is Enabled, read in place with no legacy entry moved (the caller's bucket, or with the global bucket
namespace the one of that name another account owns, one get per owning account), copied under the lock its tag writes
hold, and none for an object or no bucket. Bucket names are one namespace here, a request signed for any partition
reaching the same bucket, so the ARN's partition is not matched against the bucket's. IamConditionContextResolver gives
an object its bucket's tags from tagParents, and no longer gives s3:GetBucketTagging, s3:DeleteBucket and
DeleteBucketTagging the bucket's tags itself, ABAC or not. S3's own bucket policy check reads the same tags, so a bucket
policy conditioned on aws:ResourceTag grants a caller from another account what it says. s3:BucketTag/<key> is not read:
the generator's resource-tag key reading takes ResourceTag keys alone.

The Service Reference and the IAM identifiers page changed upstream, and the IAM data drift gate this change runs reads
both: tools/aws/sources/iam-identifiers.json and the table are synced, adding IAM's workload identity provider and
template types and their operations, Bedrock's and Redshift Serverless's new types, and new Athena, Budgets and STS
operations. The generator took a type of no variables of its own for the account's one, which every request names, even
where its format lies within another type's the action acts on: Redshift Serverless's expressConfiguration,
workgroup/express/express-default, is a workgroup of a fixed name, and GetCredentials was checked on it beside the
workgroup its workgroupName names. Such a type is now named only by a request naming it, which leaves GetCredentials
checked on the named workgroup alone.

S3BucketTagIamEnforcementIntegrationTest checks that a caller allowed s3:GetObject, s3:ListBucket and the bucket's
tagging actions only on resources tagged team=blue reads and lists a blue bucket with ABAC enabled and reads its tags,
and is refused a red one and a blue one whose ABAC is off, its tagging actions included; and that a bucket policy
granting another account s3:GetObject on blue buckets lets that account read the blue one and not the red.
S3BucketStoredTagsTest checks the read and its refusals; IamConditionContextResolverTest that an object has its bucket's
tags and that a bucket action's request context leaves the bucket's tags to its stored tags;
test_fetch_s3_tag_inheritance.py the fetcher; test_regen_iam_request_resources.py the object's parent and the fixed-name
type; IamRequestResourceEnforcementIntegrationTest that a caller allowed GetCredentials on one workgroup gets its
credentials and is refused another's.
2026-12-01 15:31:15 -04:00
Kenshin Okinaka fcbab03dcd fix(s3tables): return the bucket and namespace ids and the namespace owner (#9917)
GetTableBucket, ListTableBuckets, GetNamespace, ListNamespaces, GetTable
and ListTables now return tableBucketId and namespaceId where the S3
Tables model defines them, and GetNamespace and ListNamespaces return
the required createdBy and ownerAccountId. New buckets and namespaces
get a random id their children repeat; a bucket or namespace stored by
an earlier Floci gets one derived from its bucket's ARN and its name, so
every read returns the same id.
2026-12-01 15:21:49 -04:00
Kenshin Okinaka a7bb0b7ff8 fix(ses): answer a bulk send with no recipient before its other checks (#9915)
A bulk send in which no entry names a recipient is now answered entry by
entry ahead of the checks that refused the whole call. SendBulkEmail no
longer refuses default or replacement template data that is not a JSON
object: with no recipient every entry answers "Destination cannot be
empty", and with one the entry fails on its own after the sender check.
SendBulkTemplatedEmail gives the per-entry answer ahead of an unknown or
paused configuration set too, and SendEmail answers template data that
does not parse with "Unable to parse template data (invalid JSON)."
2026-12-01 14:59:34 -04:00
Priamo Germosen a93ba744d1 feat(s3): support PutBucketAbac and GetBucketAbac, and refuse bucket tagging under ABAC (#9911)
A general purpose bucket's tags control access to it only once attribute-based access control (ABAC) is enabled on it:
"By default, ABAC is disabled for all Amazon S3 general purpose buckets", and aws:ResourceTag is evaluated "only after
you enable ABAC on your bucket". Floci served neither PutBucketAbac nor GetBucketAbac and answered both 501
NotImplemented.

The bucket now holds an ABAC status, read and written at the bucket's owner as its other configurations are.
PutBucketAbac takes a whole AbacStatus document holding one Status of text alone, sets Enabled or Disabled and refuses
anything else, a broken document, markup inside Status or a lowercase status among it, with MalformedXML "The XML you
provided was not well-formed or did not validate against our published schema", the status left as it was; GetBucketAbac
answers Disabled until it is set. While it is Enabled, PutBucketTagging and DeleteBucketTagging are refused with
BadRequest "This S3 general purpose bucket has attribute-based access control (ABAC) enabled. To add tags to this
bucket, initiate a TagResource request. To delete tags from this bucket, initiate an UntagResource request.", the tags
kept: S3 Control's TagResource and UntagResource change them, and GetBucketTagging still lists them. The statuses, codes
and sentence are AWS's recorded answers; DeleteBucketTagging's refusal, which no recording gives, takes the same answer,
whose sentence speaks to deleting too, as the API reference says the operation can no longer be used. IAM already checks
the two operations as s3:PutBucketAbac and s3:GetBucketAbac from the vendored REST routes. PutBucketAbac sets the status
under the lock the tag writes hold, so a PutBucketTagging that saw ABAC disabled finishes before it is enabled.
CreateBucket now sets the tags its CreateBucketConfiguration carries on the new bucket before storing it, and a repeated
create of a bucket the caller already owns, which the default Region answers as done, leaves that bucket's tags as they
are, so neither can change the tags of a bucket under ABAC.

S3BucketAbacIntegrationTest checks, through the SDK, the Disabled default and the roundtrip, the refused spellings and
bodies with the status kept, a repeated create leaving an ABAC bucket's tags, and, under ABAC, PutBucketTagging and
DeleteBucketTagging refused with the tags kept, TagResource tagging and PutBucketTagging working again once ABAC is
disabled; IamActionRegistryTest the two operations' IAM actions; S3UnservedBucketSubresourceIntegrationTest no longer
counts ?abac unserved.
2026-12-01 12:45:35 -04:00
Jackson PriceandAndre Kurait afd0f9c99e fix(cloudformation): honor LogGroupName on EC2 flow logs (#9913)
AWS::EC2::FlowLog dropped LogGroupName, so a stack that named its log
group that way created a flow log with no group. The provisioner now
passes it to EC2, and an update compares the effective group, from
LogGroupName or the LogDestination ARN, so a tag-only update keeps the
same flow log either way while a changed group still needs replacement.

Co-authored-by: Andre Kurait <AndreKurait@gmail.com>
2026-12-01 12:10:39 -04:00
mrfelek f78761c71a fix(eks): replace a restored node that still tunnels to kubelets when the cluster has Auto Mode compute (#9905)
A cluster node started before #9825 keeps its old k3s arguments when
Floci restores it, so its API server still dials kubelets through k3s's
agent tunnel, which a node whose own kubelet registers it doesn't open,
and kubectl logs, exec and port-forward to its pods fail. A new node
container now carries io.floci.eks.egress-selector=disabled, and on
restore a surviving node without it, in a cluster with Auto Mode compute
on, is replaced on its data volume, as an out-of-date node already is.

Part of #8914
2026-12-01 12:08:06 -04:00
Priamo Germosen 8b29f0fe10 fix(iam): read the stored tags of Rekognition collections and Macie members (#9908)
The request-resources table gives resource-tag keys to Rekognition's collection type and Macie's member type, and both
services keep the tags those resources are created with, but neither gave IAM them, so an aws:ResourceTag condition on
one of their actions never matched.

RekognitionStoredResourceArns now reads RekognitionCollectionService.storedTags: the tags of the caller's collection the
ARN names, in its Region, read in place with no legacy entry moved. MacieStoredResourceArns, new, reads
MacieService.storedTags: the tags of the member the caller's administrator account holds that the ARN names. Each read
answers only an ARN equal to the stored resource's own, so another partition's ARN of the same Region and name has none.
Floci serves no Macie operation on an existing member yet (only CreateMember and ListMembers), so Macie's reader is
ready for GetMember, DeleteMember and the tag operations rather than read today.

StoredResourceTagIamIntegrationTest checks that a caller allowed rekognition:DescribeCollection only on collections
tagged team=blue describes the blue one and is refused the red one; RekognitionCollectionServiceTest and
MacieServiceTest check each read, its copy, and the ARNs that name nothing (another account, partition, Region or kind,
or a resource no longer held). Each fails without its reader.
2026-12-01 11:06:50 -04:00
Jackson PriceandAndre Kurait 7254b218b2 feat(glue): batch read custom entity type definitions (#9900)
BatchGetCustomEntityTypes reads 1 to 50 named custom entity type
definitions in the caller's account and Region, returning the ones it
holds in CustomEntityTypes and the missing names in
CustomEntityTypesNotFound. Under IAM enforcement the call is authorized
as glue:BatchGetCustomEntityTypes, as the generated tables give it.

Co-authored-by: Andre Kurait <AndreKurait@gmail.com>
2026-12-01 11:02:14 -04:00
mrfelek 09c0abd3f8 fix(eks): drain an EKS Auto Mode node whose kubelet doesn't answer without a grace period (#9896)
An EKS Auto Mode node registered by its own kubelet was always drained
with its pods' grace period, so once that kubelet stopped answering (its
instance stopped, or the kubelet down) the evicted pods stayed
Terminating, every drain timed out, and the node, its instance and its
NodeClaim stayed, holding their pool's limits. retire now drains a node
whose Ready condition isn't true with --grace-period=0, as Floci's own
nodes already are, so the node and its instance go. A Ready node keeps
its pods' grace period.

Part of #8914
2026-12-01 10:25:22 -04:00
Kenshin Okinaka e8bfef562c fix(ses): require template data on v2 template sends and answer empty bulk destinations first (#9893)
A v2 template send without TemplateData, or with an empty string, read
it as {}. SendBulkEmail now answers 400 BadRequestException "The default
template data does not exist" and SendEmail "Template data cannot be
empty", ahead of the configuration set lookup and the sender check.
A SendBulkEmail in which no entry names a recipient answers every entry
INVALID_PARAMETER "Destination cannot be empty" even when its
configuration set is unknown or paused. With a recipient, a bulk send
looks its configuration set up first and refuses a paused one only after
the sender check.
2026-12-01 10:21:59 -04:00
XuJian e8fdc11ba3 fix(elbv2): reject a missing load balancer in DescribeTargetGroups (#9891)
DescribeTargetGroups with a LoadBalancerArn that names no load balancer
answered 200 with an empty list, so a caller could not tell a load
balancer without target groups from one that does not exist. It now
checks the load balancer as DescribeListeners does and answers 400
LoadBalancerNotFound.

Closes #9890
2026-12-01 09:57:31 -04:00
Niels Kootstra d8fbde3f63 test(kms): cover missing-key IAM authorization (#9904)
Under IAM enforcement, a same-account caller allowed kms:DescribeKey on
the account's keys gets NotFoundException for a missing key named by
key ID, key ARN, alias name or alias ARN, while a caller without the
action and a cross-account request for a missing key stay denied with
AccessDeniedException. This pins that behavior; production code is
unchanged.
2026-12-01 09:51:21 -04:00
mrfelek 75ef33871a fix(ec2): keep EKS Auto Mode nodes running on shutdown when EKS keeps its clusters running (#9883)
On shutdown Floci stopped every running EC2 instance, EKS Auto Mode's
nodes among them, even with floci.services.eks.keep-running-on-shutdown
keeping their cluster running, so a restarted Floci found the cluster
with its nodes stopped and NotReady. Ec2Service.beginShutdown now marks
the process shutdown, and stopManagedContainers then leaves a running
instance managed by eks.amazonaws.com running when EKS keeps its
clusters running. A reset or nuke, which deletes the records, still
stops it, and every other instance stops as before.

Part of #8914
2026-12-01 09:42:55 -04:00
Priamo Germosen 1a52438dbc fix(iam): read API Gateway's stored tags and the tags its V1 resources inherit (#9903)
The request-resources table gives resource-tag keys to 66 API Gateway types, but API Gateway gave IAM no tags, so an
aws:ResourceTag condition on an apigateway action never matched. Its Developer Guide also says that in the V1 API "child
resources inherit the tags that are set on parent resources", naming RestApi, DomainName and UsagePlan as the parents,
and that a stage's own tag "takes precedence" over the one it inherits.

ApiGatewayStoredResourceArns reads ApiGatewayService.storedTags and ApiGatewayV2Service.storedTags: the tags of the
caller's REST API, stage, custom domain name, API key, usage plan or VPC link, and of an HTTP or WebSocket API and its
stages, by the first segment of the ARN's resource path, in its Region, read in place from each store with
readInAccount, no legacy entry moved. The REST API's tag writes and the V2 service's now hold the service's monitor and
replace the tag map instead of changing it in place, as the custom domain's, VPC link's, API key's and usage plan's
already did, so a read copies a map no writer changes.

tools/aws/fetch_apigateway_tag_inheritance.py vendors the guide's sentences into
tools/aws/sources/apigateway-tag-inheritance.json, refusing a reworded page. The generator gives each type whose
resource path continues a parent the page names past a '/' that parent, with the parent's format in the type's variable
names (tagParents), from the formats alone: 27 types under RestApi, the 5 under DomainName the guide lists and 4 under
UsagePlan; the V2 API's are under none. RequestResourceMembers reads it, and IamConditionContextResolver lays an ARN's
own tags over its parent's, the parent's ARN filled from the ARN.

The regeneration also takes the Service Reference's new ec2:FailoverVolumes.

test_fetch_apigateway_tag_inheritance.py checks the fetcher's copy and refusals; test_regen_iam_request_resources.py the
parent formats, the parents given and the check of them; RequestResourceMembersTest the read and refusals;
IamConditionContextResolverTest that a method has its REST API's tags under its own and a V2 route none;
ApiGatewayStoredResourceArnsTest each kind's read, a custom domain name and a VPC link of either API, a legacy usage
plan read in place, and its copy; ApiGatewayPathArnEnforcementIntegrationTest that a caller allowed apigateway:GET on
team=blue reads the blue REST API, its resources and a blue HTTP API, and is refused the red REST API, its resources and
the HTTP API's routes.
2026-12-01 09:29:43 -04:00
mrfelek 4abb4e63a8 fix(ec2): start an instance from the image its AMI's tag names at launch (#9867)
An EC2 instance's container was created through ensureImageExists, which
reuses the image id a reference named the first time it was seen, so a
worker image rebuilt under the same tag never reached a new instance
until Floci restarted. A launch now resolves the AMI's dockerImage with
resolveImageForLaunch under PREFER_CACHED, as EMR does, reading the
local tag again and pulling only when it is missing, and creates the
container from the image id it returns. An instance already running
keeps the image it started from.

Part of #8914
2026-12-01 08:49:01 -04:00
Neil Rutherford 681be77f0d feat(iot): deliver MQTT shared subscriptions to one member per group (#9837)
A $share/<share name>/<topic filter> subscription was matched literally
against each topic, so its subscriber never received anything. It now
joins the group its share name and topic filter name: each matching
publish goes to one connected member of each group, chosen at random,
at the lower of the publish and subscription QoS, as AWS IoT Core
distributes it. A share name that is missing, holds /, + or #, or is
over 128 characters, or a topic filter over 256 characters, is refused
in the SUBACK. A shared subscription gets no retained message on
subscribe, and iot:Subscribe must allow both the $share/ form and the
plain filter. A group with no connected member gets nothing, and the
shared subscription quotas are not enforced.

Closes #9889
2026-12-01 07:57:57 -04:00
Niels Kootstra cbae4b1c9b fix(paymentcryptography): reject a CreateKey KeyUsage outside the reference's list (#9856)
CreateKey checked that a key's algorithm serves its KeyUsage but not the
usage itself, so a key of a usage the reference does not list was made.
A key the service creates must now carry a usage from the reference's
list, or the call fails with ValidationException; an imported key keeps
the usage its block carries. The tests that made M0 and P1 keys with
CreateKey use listed usages instead.

Closes #8982
2026-12-01 07:54:38 -04:00
Priamo Germosen 16bdd60072 fix(iam): check an AWS Backup recovery point on the ARN its request names (#9884)
The Service Reference gives AWS Backup's recovery point the format
arn:${Partition}:${Vendor}:${Region}:*:${ResourceType}:${RecoveryPointId}, a wildcard where the account goes, which
no ARN a request names matches as written, so every request naming a recovery point by its ARN
(DescribeRecoveryPoint, DeleteRecoveryPoint, StartRestoreJob and the rest) was checked on *.

The AWS Backup Developer Guide's table of resource ARNs gives each kind of recovery point's ARN with the account, or
nothing, in that place. tools/aws/fetch_backup_arn_formats.py vendors the table's recovery point rows as they stand
into tools/aws/sources/backup-arn-formats.json, refusing a row with anything else there, and writes the Service
Reference's format with the account variable in place of the wildcard. ARN_FORMAT_SOURCES grants it for backup, and
with_vendored_formats now takes a vendored format that has a variable for each of the reference's wildcards and
nothing else changed. The table's recovery point format becomes
arn:${Partition}:${Vendor}:${Region}:${Account}:${ResourceType}:${RecoveryPointId}.

Some rows give a recovery point no colon between its type and id, which that format does not fit (an EBS snapshot's
arn:aws:ec2:region::snapshot/*, a DynamoDB backup's table/*/backup/*). The fetcher also writes each row as a format
of its own, the last wildcard as ${RecoveryPointId} and one before it as ${Resource}, and the table gives the
recovery point those its format does not fit already (alternateFormats): EBS snapshots, EC2 images, FSx backups and
DynamoDB backups. RequestResourceMembers matches a type's ARN against its format or any of them.

The generic recovery point format also fits an IAM role whose path holds a colon, and the rule for an ARN member had
typed the roles StartRestoreJob, StartCopyJob and StartScanJob pass as recovery points. The generator now reads the
generated passed-roles table, as it reads the authorized-actions one, and reads no resource of an action from a
member it gives as a role the operation passes, whose ARN iam:PassRole is checked on: 98 rows in 83 operations go,
of which only those five could fit a role's ARN.

test_fetch_backup_arn_formats.py checks the fetcher's copy, its formats and refusals;
test_regen_iam_request_resources.py the account wildcard's replacement, the alternates kept and the passed-role rows
dropped; RequestResourceMembersTest the alternates' read and refusals; ResourceArnBuilderTest that DescribeRecoveryPoint
is checked on the ARN in its path, a Backup one sent encoded or not and an EBS one as an SDK encodes it, and
StartRestoreJob on its recovery point and not on the role it passes; IamRequestResourceEnforcementIntegrationTest that a
grant on one recovery point's ARN lets the caller describe that one and not another.
2026-12-01 07:44:42 -04:00
TATSUNO “Taz” Yasuhiro ce8012df47 fix(eventbridgev2): send a function the event alone when MaxBatchSize is 1 (#9888)
A subscriber with a Lambda target and BatchConfiguration.MaxBatchSize 1
invoked the function with [event]; AWS sends the event object itself, as
Floci now does. The shape is fixed when the batch is built, so a batch
already waiting keeps its array if UpdateSubscriber sets MaxBatchSize to
1. Any larger MaxBatchSize still sends an array, even of one event.
2026-12-01 07:21:57 -04:00
Jackson PriceandAndre Kurait 0c56e8e054 feat(glue): support custom entity type definitions (#9885)
CreateCustomEntityType, GetCustomEntityType, ListCustomEntityTypes and
DeleteCustomEntityType store a regular expression and optional context
words per account and Region. The list filters by tag and pages with
MaxResults and NextToken.

A definition's tags live in the shared tagging store under its
customEntityType/<name> ARN, as other Glue resources' do, so GetTags,
TagResource, UntagResource, the list filter and aws:ResourceTag
conditions all read the same tags. Create replaces the ARN's tags and
delete clears them, each rolling back if the other write fails.

Co-authored-by: Andre Kurait <AndreKurait@gmail.com>
2026-12-01 06:57:41 -04:00
Allen Sanborn 57cee5b78f fix(cloudfront): render and parse realtime log config Fields and EndPoints per the model (#9886)
A realtime log config's Fields rendered inside a Quantity/Items wrapper
the model does not have, and its EndPoints were never stored, so Get
returned neither as sent. Fields now render as a plain list of Field
elements and EndPoints as one member per endpoint with its StreamType
and KinesisStreamConfig, which the parser reads back.

Update and delete resolve the config by Name, ARN or both, as AWS does:
naming neither, or a Name and ARN that name different configs, is
InvalidArgument with each operation's own message and changes nothing.
An ARN must match the stored one exactly. An update that omits
SamplingRate, Fields or EndPoints keeps the stored value. Create refuses
a duplicate name with RealtimeLogConfigAlreadyExists and an empty Name,
and SamplingRate (1 to 100) and each endpoint (Kinesis, with RoleARN and
StreamARN) are validated.

Closes #6864
2026-12-01 06:54:24 -04:00
mrfelek 0324116a2e fix(eks): keep a recreated node's API server port in one allocator step (#9879)
#9868 kept a cluster's API server port when this process recreates its
node by releasing the cluster's reservation and then asking
allocateIfFree for the port, so a cluster created between the two calls
could take it. PortAllocator.keepIfFree now keeps a port the caller
holds when no container publishes it and nothing binds it, and releases
it otherwise, in one step under the allocator's lock, and the recreate
uses it for the port the cluster holds.
2026-11-30 23:51:54 -04:00
Kenshin Okinaka f6de04071f fix(codeartifact): log a Maven external connection's refusal (#9821)
A Maven external connection that answers anything other than 200 was
read as "asset not found" with nothing recording the status, so a rate
limit from Maven Central looked like a missing artifact.
MavenExternalConnectionClient now logs a warning with the connection,
the status and the path for any answer other than 200 or 404.

The path comes from the request, so it is sanitized first:
SigV4RequestValidator.sanitizeForLog now also strips format characters
and Unicode line and paragraph separators, for all of its callers. The
RDS and ElastiCache validators drop their private copies, and the token
validation logs go through it too. LogCapture.captureFromThisThread
keeps only the calling thread's records for tests that run side by side.
2026-11-30 23:26:23 -04:00
Allen Sanborn 5e0ab8d7b7 fix(apigateway): keep PutMethod's operationName and refuse a duplicate PutMethod (#9880)
PutMethod ignored operationName, so GetMethod never returned it and a
Terraform aws_api_gateway_method with operation_name showed a change on
every plan. It is now stored, returned by PutMethod, GetMethod and the
methods GetResource embeds, and replaced or removed through
UpdateMethod; a non-string value is refused. A PutMethod for a verb the
resource already has answers ConflictException "Method already exists
for this resource" and leaves the method as it was. The OpenAPI import
and the CloudFormation Method provisioner, which redefine methods on
purpose, go through putMethodReplacing. UpdateMethod checks an
authorizationScopes patch before applying anything.

Closes #6948
2026-11-30 23:12:09 -04:00
Jackson PriceandAndre Kurait ef032c5431 feat(s3tables): support table bucket metrics configuration (#9882)
PutTableBucketMetricsConfiguration, GetTableBucketMetricsConfiguration
and DeleteTableBucketMetricsConfiguration now store the setting with the
table bucket. Get returns the bucket's ARN and the fixed id EntireBucket,
and answers NotFoundException "No such metric configuration exists"
while the configuration is off; a delete is idempotent. The bucket
record is replaced atomically, and a snapshot stores the setting only
for an enabled bucket, so older records start with metrics disabled.

Co-authored-by: Andre Kurait <AndreKurait@gmail.com>
2026-11-30 23:00:28 -04:00
Priamo Germosen b13e8aa9cd fix(iam): read which ARN formats lie within others from the request-resources table (#9881)
An ARN a request member names may fit the formats of two types of its namespace: an endpoint group's ARN,
accelerator/<id>/listener/<id>/endpoint-group/<id>, fits its accelerator's accelerator/${ResourceId} too, the id
taking any character. The reader took such an ARN as the other type's when that type's format was the longer as
text, variable names counted, so a format with long variable names won over one that fixes more of the ARN.

The generator now gives each type the types of its namespace whose formats lie within its own and not the other way
(narrowerFormats), read from the formats as they stand, each variable matched as the reader matches it: the
partition takes no colon, the Region and the account none or more characters but a colon, any other variable one
or more of any. The reader takes an ARN as a type the resource does not read only when the table gives that type as
lying within every one of the resource's own that the ARN fits. make iam-request-resources-check derives the nesting
again from the formats.

Two readings change for real ARNs, each to the narrower type the action does not list: an AWS-managed RAM
permission (arn:aws:ram::aws:permission/...) named to an action on customer-managed permissions, and a multi-Region
access point's ARN named to S3 Control's tag operations, which no longer pass as an access point's.

test_regen_iam_request_resources.py checks the nesting of formats and that the check reports a table giving
another; RequestResourceMembersTest checks the reader reads and refuses narrowerFormats.
2026-11-30 22:55:04 -04:00
Daniël van Ziel 98f49a91c7 fix(elbv2): drop the leading slash from #{path} in redirect actions (#9876)
In a redirect action, #{path} was replaced with the request path
including its leading "/", so the usual Path=/#{path} redirected
/workflows to //workflows. It now drops the leading "/", as AWS
documents #{path}. A redirect with no Path still keeps the request path.

Closes #9862
2026-11-30 22:28:21 -04:00
mrfelek 1bb8419081 feat(eks): size an EKS Auto Mode node's kubelet like its instance type (#9863)
An EKS Auto Mode node from an image whose own kubelet registers it saw
the Docker host's CPUs and memory as its capacity, not its instance
type's. The instance's NodeConfig now sets the kubelet's systemReserved
to the host's size beyond the type's, less what nodeadm's CPU tiers take
from the host's extra cores, so the node offers what the type offers on
AWS. A host no bigger than the type, or one whose size can't be read,
reserves nothing.

A launch's candidate types, a node still joining and a consolidation's
replacement are sized by what a node of the type offers pods: its CPU
less the EKS AMI's kube reservation tiers, and its memory less 11 MiB
per pod plus 255 MiB and the 100 MiB eviction threshold, as Karpenter
counts it. Pool limits still count the type's capacity.

Part of #8914
2026-11-30 22:03:46 -04:00