Commit Graph
5066 Commits
Author SHA1 Message Date
Priamo Germosen 3dce88baed test: run two classes on the default application, whose profiles change nothing (#8857)
Ec2QuotaDefaultOffIntegrationTest's profile set standard-on-demand-vcpus to 5,
the value the test config already has, and the profile of
CloudWatchLogsMetricFilterRetryIntegrationTest set nothing at all: it kept the
class off a shared application because the class resets all state over HTTP,
which many classes on the default application and on shared profiles already
do. Both classes now run on the default application, so two
applications fewer are built.
2026-11-18 09:00:45 -04:00
mrfelek 52ee0b0645 refactor: read a stored resource's Region with RegionResolver.regionOf (#8842)
* refactor: read a stored resource's Region with RegionResolver.regionOf
2026-11-18 08:50:44 -04:00
XuX da3429cc06 fix(ec2): validate explicit secondary private IPs (#8836)
* fix(ec2): validate explicit secondary private IPs
2026-11-18 08:49:18 -04:00
Priamo Germosen 532b64eaea fix(iam): answer a refused MFA device as AWS words it (#8855)
Every MFA refusal here was this package's own sentence. IAM answers
EnableMFADevice and ResyncMFADevice with 'Authentication code for device
is not valid.' and a duplicate virtual device with 'MFA device already
exists.', both recorded and both wholly fixed text.

STS answers two sentences rather than one, by which half of the claim
failed: a serial no device of the caller's answers to, or a code that
device did not produce. Both are 403 AccessDenied, so the sentence is the
only thing that tells a caller which half to look at, and the whitespace
inside them is AWS's own. RequestMfaClaim carries the reason now, so the
seam both session operations share can word them apart.
2026-11-18 08:27:02 -04:00
Oleksandr Nikolaichuk 29fc72d156 fix(cloudformation): update an API Gateway authorizer in place and replace it on a RestApiId change (#8841) 2026-11-18 08:06:09 -04:00
TATSUNO “Taz” Yasuhiro 93fd5690e8 fix(s3): stop splitting query values on an encoded & (#8706)
* fix(s3): stop treating an encoded & in a query value as a subresource
* fix(s3): split the raw query to find a name the decoded map lost
2026-11-18 07:59:53 -04:00
Jackson Price 4c0181cd20 fix(cloudwatch): exclude EndTime from metric queries (#8824) 2026-11-18 07:50:46 -04:00
saranya15js 90b6d46317 fix(ec2): settle interrupted lifecycle states and prune terminated instances (#8779)
* fix(ec2): settle interrupted lifecycle states and prune terminated instances
* fix(ec2): address review findings on lifecycle recovery and pruning
* test(ec2): use Awaitility in the EC2 lifecycle tests
2026-11-18 07:49:13 -04:00
Oleksandr Nikolaichuk f082117a85 fix(cloudformation): create an EKS cluster with its VPC, logging and access settings (#8747)
As the next step of #6606, an AWS::EKS::Cluster is now created with its ResourcesVpcConfig, Logging and AccessConfig, a replacement included, and ClusterSecurityGroupId resolves through Fn::GetAtt. A template naming a subnet that does not exist fails the stack, as on AWS, and an EnabledTypes entry with no Type fails the resource. An in-place change to the three is logged and not applied until Floci has UpdateClusterConfig. CreateCluster now also refuses subnets from two VPCs, a PublicAccessCidrs entry that is not a CIDR, and an IPv6 block on an IPv4 cluster, and runs every check before it creates the cluster security group, so a refused request leaves no group behind for a stack's VPC rollback.
2026-11-18 07:35:25 -04:00
TATSUNO “Taz” Yasuhiro 252a6012b3 fix(dynamodb): charge a scan for each partition it reads (#8835)
A Scan, and a PartiQL statement read as a scan, is now charged for each partition it reads, each at its own 4 KB blocks and at least one even when empty. An on-demand table and its indexes have 4 partitions, so a small one's scan costs 2 units, or 4 with ConsistentRead, where Floci charged 0.5; a provisioned table keeps one. An item's partition comes from the key hash of #8798, each partition holding a quarter of its range. The page that ends a scan also charges each empty partition, and the one it resumed in when it read none. An ordered PartiQL statement charges each read on its own; a parallel scan keeps its single read.
2026-11-18 07:28:44 -04:00
luiseterc f511cd8a44 fix(ec2): authorize launch template names against stored resource ARNs (#8850) 2026-11-18 07:27:48 -04:00
Hector Ventura 9c8734b41f feat(docker): log how busy the Docker connection pools are (#8829) 2026-11-18 07:22:12 -04:00
Kenshin Okinaka 51fd7950e1 fix(ses): require a subject and a part to create or update a template (#8840) 2026-11-18 07:18:54 -04:00
Priamo Germosen e5ddc9fffc fix(globalaccelerator): give resource-tag conditions the tags of the accelerator a request names (#8847)
The generated request resources give Global Accelerator's accelerator,
listener and endpointgroup types the aws:ResourceTag/ key, but no
service answered the globalaccelerator namespace's stored tags, so a
condition on their tags saw none. GlobalAcceleratorService now answers
it: it finds the resource under the ARN itself, in the request's
account, in place, as the tag handlers do, and reads the tags stored
under that ARN. TagResource and UntagResource now run one at a time, so
two tag calls never lose one's tags.
2026-11-18 07:10:51 -04:00
mrfelek f89fa536f0 test(eks): move the IRSA, storage class and registry host Docker tests onto EksTestNode (#8843) 2026-11-18 07:10:12 -04:00
Hector Ventura 7f90aeecf5 chore(iam): refresh the managed policy catalog and name the drift on a stale check (#8825)
`make aws-data-check` failed on a clean main whenever local/aws was present, because the iam-dataset checkout had moved past the vendored managed-policy catalog. The catalog is regenerated from iam-dataset ee63e16 (1,594 policies): 8 added and 44 moved to a newer default version. The dataset now marks AWSIoTEventsFullAccess and AWSIoTEventsReadOnlyAccess deprecated; Floci already served both and AWS keeps a deprecated policy working for the identities it is attached to, so they join AWSLambdaFullAccess in RETAINED and stay unchanged. A failing --check now also prints the dataset commit, when the dataset is a git checkout of its own, and the policies a fresh generation adds, removes and changes, path-only changes included.
2026-11-18 07:03:00 -04:00
Kenshin Okinaka 8bf636b000 fix(ses): word EventBridge destination and certificate address refusals like SES (#8819)
* fix(ses): word EventBridge destination and certificate address refusals like SES
2026-11-18 06:59:14 -04:00
Priamo Germosen cdb1cffa76 test: check the boot restores' wiring instead of booting two fresh applications (#8837)
EcsBootReconcilerIntegrationTest and EksBootRestoreIntegrationTest each took a
Quarkus profile of their own, an application no other class had sent an ECS or
EKS request to, only to see that EcsService and EksService get created at boot.
EmulatorLifecycleTest already checks that onStart restores ECS and that
onHttpStart restores EKS once the port listens; what the two classes added is
that the container fires those observers at boot. One unit test now checks that
wiring directly (onStart observes StartupEvent, onHttpStart observes
HttpServerStart, on an @ApplicationScoped bean), and the two classes and their
profiles go.
2026-11-18 06:52:40 -04:00
Priamo Germosen c9f00fee12 fix(iam): answer a policy ARN that names nothing as AWS words it (#8815)
IAM answers two sentences for a managed policy ARN it cannot resolve and
they are not interchangeable: the ARN names nothing, or it names nothing
the call could attach. One sentence served every operation here, and the
three detach paths added a clause naming the user, group or role that AWS
never emits.

PolicyNotFound sites the two per operation, from the recordings: GetPolicy,
TagPolicy and the detach paths answer the plain sentence, while the attach
family, ListEntitiesForPolicy and the version operations carry the
attachability clause, with GetPolicyVersion naming the version inside it.
The operations no recording covers read with their own family, documented
on the IAM page.
2026-11-18 06:52:18 -04:00
Priamo Germosen 1863f7f4bb fix(datasync): give resource-tag conditions the tags of the agent, location or task a request names (#8844)
The generated request resources give DataSync's agent, location and task
types the aws:ResourceTag/ key, but no service answered the datasync
namespace's stored tags, so a condition on their tags saw none.
DataSyncService now answers it: storedTags reads the resource stored
under the ARN itself, in the request's account, in place, as the tag
handlers find it. TagResource and UntagResource changed the tag map in
place with no lock; they now give the resource a new map one call at a
time, and the tags fields are volatile.
2026-11-18 05:43:16 -04:00
Priamo Germosen 933b617961 fix(codepipeline): give resource-tag conditions the tags of the pipeline a request names (#8839)
The generated request resources give CodePipeline's pipeline, webhook
and actiontype types the aws:ResourceTag/ key, but no service answered
the codepipeline namespace's stored tags, so a condition on their tags
saw none. CodePipelineService now answers it, in the request's account
and in place: a pipeline under its name and a webhook under its name,
each matched on the ARN it recorded, and a custom action type under the
key its ARN gives, as the tag handlers find it. A stage or an action ARN
reads nothing. Tag writes already replace the map under the resource's
lock; the tags fields are now volatile.
2026-11-18 04:19:15 -04:00
Priamo Germosen 29d4555896 fix(fis): give resource-tag conditions the tags of the template, experiment or action a request names (#8838)
The generated request resources give AWS FIS's experiment-template,
experiment and action types the aws:ResourceTag/ key, but no service
answered the fis namespace's stored tags, so a condition on their tags
saw none. FisService now answers it: storedTags reads the template,
experiment or action tags stored under the Region the ARN names and its
id, in the request's account, where the tag handlers read, in place; a
template or an experiment is matched on the whole ARN it records, an
action on the ARN built for it. Tag calls already run one at a time and
store a new record.
2026-11-18 03:15:22 -04:00
Priamo Germosen 07996b0ede test: fold the Service Quotas applied-value profile into IndependentServiceSettingsProfile (#8834)
Quarkus builds one application per distinct test profile at discovery and keeps
each for the rest of the surefire JVM, so every profile a shard holds costs heap.
ServiceQuotasAppliedValueIntegrationTest's nested profile sets the applied
standard On-Demand vCPU quota, which only Service Quotas reports and EC2 only
enforces with enforce-vcpu-quotas on, so it now shares
IndependentServiceSettingsProfile, whose rule is one class per service setting.
2026-11-18 02:04:53 -04:00
Priamo Germosen 7fb37956be test: fold the ECS service-discovery Docker profile into ValidateSignaturesProfile (#8833)
Quarkus builds one application per distinct test profile at discovery and keeps
each for the rest of the surefire JVM, so every profile a shard holds costs heap.
EcsServiceDiscoveryDockerIntegrationTest's nested profile (ECS unmocked, security
groups off), also used by EcsLeftoverContainersDockerIntegrationTest, now shares
ValidateSignaturesProfile: the ECS classes drive ECS through its injected services,
so signature validation never sees their requests, and no signature class starts
an ECS task or a container security groups would govern.
2026-11-18 02:04:45 -04:00
Priamo Germosen 3b2401433b test: fold three more Quarkus test profiles into CloudFormationSettingsProfile (#8830)
Quarkus builds one application per distinct test profile at discovery and keeps
each for the rest of the surefire JVM, so every profile a shard holds costs heap.
The profiles nested in EcsBackgroundTaskStopIntegrationTest (ECS in Docker mode
with no boot sweep, also used by EcsBackgroundTaskLaunchIntegrationTest),
KinesisStatusWindowIntegrationTest (minute-long status delays) and
RdsTemplateDatabaseRestoreIntegrationTest (the PostGIS default image) now share
CloudFormationSettingsProfile: each setting is read by one service no other class
here calls, and none names a container namespace.
2026-11-18 01:46:26 -04:00
Priamo Germosen bb8a92b8fd fix(budgets): give resource-tag conditions the tags of the budget or budget action a request names (#8823)
The generated request resources give Budgets' budget and budgetAction
types the aws:ResourceTag/ key, but no service answered the budgets
namespace's stored tags, so a condition on a budget's or an action's
tags saw none. BudgetsService now answers it: a budget records no ARN,
so storedTags takes the ARN only when it is the one the budget's account
and name give in the request's partition, an action's adding its id,
then reads the record under the key the handlers read, in the request's
account, in place. Tag calls already run one at a time and give the
record a new tag list; the tag fields are now volatile.
2026-11-18 01:43:59 -04:00
Priamo Germosen 72055e2690 test: fold the unknown-scope guard profile into RdsMockProfile (#8831)
Quarkus builds one application per distinct test profile at discovery and keeps
each for the rest of the surefire JVM, so every profile a shard holds costs heap.
UnknownServiceScopeGuardDisabledIntegrationTest's nested profile turns the
unknown-service-scope guard off, which only changes the answer to a request
signed for a scope the catalog does not list; no class on RdsMockProfile sends
one, so it now shares that application. RdsMockProfile's Javadoc also states the
joining rule the membership follows, which it got wrong before: every setting
there is one a class relies on or one that never reaches its requests.
2026-11-18 01:42:45 -04:00
Priamo Germosen 5fa518cf10 feat(emr): keep a cluster's application history and open its persistent UIs for real in the docker runner mode (#8817)
With runner-mode docker, GetPersistentAppUIPresignedURL now opens the
persistent application UI's interface for real, SHS the Spark History
Server, YTS the YARN timeline server and TEZ the Tez UI, on a host of
its own as an on-cluster UI does: while the cluster runs, its primary
node's; once it has ended, as "You can access application history and
relevant log files for active and terminated clusters", its kept
history's, for the 30 days for which "The logs are available ... after
the application ends".

The primary node of a cluster that runs either history interface mounts
a volume of its own, which holds the timeline server's store (its
entities kept 30 days rather than Hadoop's 7), and into which, as the
cluster's storage goes, or as a reset or a shutdown removes a node
still running, its Spark applications' event logs are copied out of its
HDFS; the cluster's other storage goes as before, though a copy that
fails keeps it, the event logs in it, for a later try or a restart to
remove. The URL is not
PresignedURLReady while the cluster is ending or its storage is going.
Then a container of the image the cluster ran serves it, on a network
of its own that no step's container is on, started by the first link,
the URL not PresignedURLReady until it answers, and stopped once no
link to it is valid, a later link starting it again; with no
ResourceManager there, the Tez UI's asks for one go to the timeline
server. A kept history goes once its 30 days have passed, whether or
not a link asked for it. A restart keeps the histories of the clusters
that ended within 30 days, a reset or a shutdown removes the
containers, and a reset every history. Elsewhere, the link still opens
Floci's own page.

EmrAppUiNightlyIntegrationTest runs it for real: a persistent UI opens
the cluster's Spark History Server while it runs, and, once it has
ended and its storage has gone, its kept history: the Spark
application, the Hive query's Tez DAG and the Tez UI's page.
2026-11-18 01:29:25 -04:00
Priamo Germosen 8418c7e674 test: fold two Quarkus test profiles into DynamoDbPartitionedWalStorageProfile (#8828)
Quarkus builds one application per distinct test profile at discovery and keeps
each for the rest of the surefire JVM, so every profile a shard holds costs heap.
The profiles nested in Ec2MockPublicAddressIntegrationTest (documentation public
addresses) and GlobalCorsFilterAliasIntegrationTest (the EXTRA_CORS_ALLOWED_ORIGINS
alias) now share DynamoDbPartitionedWalStorageProfile: the address range only
reaches EC2 instances, the origin only requests that send it, and DynamoDB storage
only DynamoDB requests, which no other class here sends.
2026-11-18 00:57:54 -04:00
Priamo Germosen 240ab6b381 test: fold two Quarkus test profiles into PerServicePersistentStorageProfile (#8827)
Quarkus builds one application per distinct test profile at discovery and keeps
each for the rest of the surefire JVM, so every profile a shard holds costs heap.
The profiles nested in CloudFormationEcsLinuxParametersIntegrationTest (/dev/fuse
as an ECS host volume root) and IamStsSharedEnablementIntegrationTest (IAM off)
now share PerServicePersistentStorageProfile. No other class here registers an
ECS task definition or calls IAM or STS, and the persistent classes call neither.
2026-11-18 00:57:48 -04:00
Priamo Germosen c09aa1f813 test: fold four Quarkus test profiles into CloudFormationSettingsProfile (#8822)
Quarkus builds one application per distinct test profile at discovery and keeps
each for the rest of the surefire JVM, so every profile a shard holds costs heap.
ContainerDataPlaneProfile, DynamoDbPartitionedStorageProfile and the profiles
nested in CloudFrontDisabledServingTest and SageMakerGpuDockerIntegrationTest now
share CloudFormationSettingsProfile: each setting is read by one service that no
other class in the group calls, and no profile here names a container namespace,
which an EMR cluster's node names need to stay short. The persistent path is the
one setting every class sees, and the Javadoc says what lands under it.
2026-11-18 00:23:04 -04:00
Priamo Germosen 31a0441cab test: fold five Quarkus test profiles into S3EnforceAuthProfile (#8821)
Quarkus builds one application per distinct test profile at discovery and keeps
each for the rest of the surefire JVM, so every profile a shard holds costs heap.
RdsAdvertisePortProfile, LambdaDurableScriptedProfile and the profiles nested in
BedrockProxyTimeoutIntegrationTest, EmrTimedLifecycleIntegrationTest and
IotFleetIndexingConnectivityIntegrationTest now share S3EnforceAuthProfile: each
setting is read by one service that no other class in the group calls. The
DynamoDB Local class stays apart: its backend refuses to start without an
endpoint, so an application it shared would fail to boot for every other class.
2026-11-17 23:52:51 -04:00
Priamo Germosen 0db13c5231 test: fold five Quarkus test profiles into ContainerBackedEc2Profile (#8820)
Quarkus builds one application per distinct test profile at discovery and keeps
each for the rest of the surefire JVM, so every profile a shard holds costs heap.
ExtraCorsOriginProfile, LambdaCodeSourcesProfile and the profiles nested in
Ec2CapturedImageReclaimIntegrationTest, Ec2RestoreEveryAccountIntegrationTest
and SqsAwsEndpointStrategyIntegrationTest now share a new ContainerBackedEc2Profile.
Ec2RestoreEveryAccount's profile was the same as Ec2CapturedImageReclaim's, since
security groups are enforced by test default, and the CORS, Lambda and SQS settings
each reach only requests no other class here sends.
2026-11-17 23:50:53 -04:00
Priamo Germosen 3d39a40eb3 test: fold three Quarkus test profiles into IamEnforcementProfile (#8816)
Quarkus builds one application per distinct test profile at discovery and keeps
each for the rest of the surefire JVM, so every profile a shard holds costs heap.
DocDbMockProfile and the profiles nested in HttpDataSourceInvokerIntegrationTest
and LogsUnknownRegionAuthorizationIntegrationTest now share IamEnforcementProfile.
No other class here calls DocumentDB or sends a region no partition publishes,
and the DocumentDB classes sign every request as the test root stand-in without a
role, so IAM enforcement passes them. RdsIamEnforcementProfile starts from the new
enforcementOverrides(), so its application keeps the settings it had.
2026-11-17 23:32:06 -04:00
Priamo Germosen 6829c0b592 fix(cloudtrail): give resource-tag conditions the tags of the trail a request names (#8814)
The generated request resources give CloudTrail's trail type the
aws:ResourceTag/ key, but no service answered the cloudtrail namespace's
stored tags, so a condition on a trail's tags saw none.
CloudTrailService now answers it: storedTags reads the trail stored
under its home Region, which its ARN names, and its name, in the
request's account, where the tag handlers read, in place, and matched on
the whole ARN. A tag with no value, which AddTags allows, reads as the
empty string. A trail is stored whole and its tags never change in
place, so no lock change.
2026-11-17 23:02:52 -04:00
Priamo Germosen 98c0a50ab5 fix(eks): execute nothing in a k3s container until its API server answers (#8810)
On a cgroup v2 host, k3s moves the root cgroup's processes into /init
and then enables the cgroup controllers, which the kernel allows only
while the root cgroup is empty, and k3s does not retry. Floci executed
in the container right after starting it, and an exec landing in
between made kubelet exit with "cgroup ["kubepods"] has some missing
controllers", so the cluster never became ACTIVE.

k3s serves its API only after that step, so a started container now
waits for its API to answer before anything is executed in it:

- The guest setup that ran right after start (the link-local metadata
  endpoint, the Pod Identity forward, the VPC routes, the audit log
  follower and the node registration listeners, of which a volume
  restore makes a device node in the container) is registered before
  the container starts and runs once isReady sees the API answer, on a
  virtual thread of its own, so neither the CreateCluster request nor
  the readiness poller waits on it. A cluster is ready only once its
  node is set up. This covers create, restore, an adopted container
  and a node capacity swap, all of which the poller checks.
- Node group user data waits for that setup, following a node replaced
  meanwhile, since it executes in the container and may read the
  metadata endpoint. If the API does not answer within 10 minutes, the
  user data fails the node group.
- A route table update, an EC2 instance joining and an
  eks-pod-identity-agent add-on change before the API answers leave the
  node to its setup and to finalizeCluster, which now registers each
  joined node on its own and leaves one that fails to be joined again.
- A delete waits for a setup already running, so it releases the log
  follower that setup attached. The control plane log stream, read
  through Docker's log API, is still attached at start.

Closes #5389
2026-11-17 23:02:14 -04:00
Jimmy Liu Jia 5b9709677e refactor(bedrock): share tag key and value validation (#8811) 2026-11-17 22:56:14 -04:00
Murtuza Chhil e6f4758bc1 feat(paymentcryptography): the Multi-Party Approval team of an operation (#8812)
* feat(paymentcryptography): the Multi-Party Approval team of an operation
* docs(paymentcryptography): what the Multi-Party Approval does not make
* docs(paymentcryptography): the action table in the order the handler names
* style(paymentcryptography): the multi-region work comes with the branch
* fix(paymentcryptography): the tests of the team share the operation they name
* fix(paymentcryptography): the removal does not change what a lookup holds
2026-11-17 22:52:57 -04:00
Priamo Germosen 39a4afc722 test: fold six Quarkus test profiles into SidecarContainersProfile (#8806)
Quarkus builds one application per distinct test profile at discovery and keeps
each for the rest of the surefire JVM, so every profile a shard holds costs heap.
BedrockProxyBackendProfile, DsqlDatabasesProfile, IotSettingsProfile and three
profiles nested in their test classes now share SidecarContainersProfile: each
setting is read by one service that no other class in the group calls. Profiles
that extend it start from the new containerOverrides(), so the shared settings
stay with the classes they were checked against, and DsqlEnforcementProfile
states its own settings. ContainerDataPlaneProfile stays apart: the sidecar
namespace makes an EMR node's container name pass the 63-character DNS label
limit, and its HDFS then cannot resolve its datanodes.
2026-11-17 22:48:15 -04:00
Kenshin Okinaka 82e6677b7e fix(ses): match the MIME message SES returns from TestRenderTemplate (#8809)
TestRenderTemplate and TestRenderEmailTemplate returned an RFC 1123 Date, a raw UTF-8 Subject, 8bit bodies and always two parts. They now write the message the way SES does: an ISO-8601 Date, a non-ASCII Subject as folded encoded words, a single part for a template with one, and each body as 7bit, quoted-printable or base64 by its octets, so the message is printable ASCII and the XML sanitizer goes. The rendering data is checked before the template lookup and answers "Template rendering data is invalid", a missing template answers "Unable to find <name> for <account>", the list-management placeholder renders as a sample link, and {{{v}}} is substituted like {{v}}, on the send path too.
2026-11-17 22:42:23 -04:00
Jimmy Liu Jia 70da9dfb0c fix(cloudformation): validate vendored properties in HandlerReader (#8733)
* fix(cloudformation): validate SES properties in HandlerReader
* fix(cloudformation): apply HandlerReader validation across vendored types
* test(cloudformation): share HandlerReader failure assertions
2026-11-17 22:40:28 -04:00
Priamo Germosen 2906767f77 test: fold two Quarkus test profiles into S3IamEnforcementProfile (#8808)
Quarkus builds one application per distinct test profile at discovery and keeps
each for the rest of the surefire JVM, so every profile a shard holds costs heap.
RdsAndDocDbMockProfile and EksIrsaDockerIntegrationTest's nested profile now
share S3IamEnforcementProfile. Their RDS, DocumentDB and EKS settings are each
read by one service no other class here calls; the DocumentDB classes sign every
request as the test root stand-in without a role and never call S3, so IAM
enforcement and the S3 settings pass them through, and EKS IRSA relies on IAM
enforcement itself.
2026-11-17 22:37:14 -04:00
Priamo Germosen c5f043990a test: fold nine Quarkus test profiles into RdsMockProfile (#8805)
Quarkus builds one application per distinct test profile at discovery and keeps
each for the rest of the surefire JVM, so every profile a shard holds costs heap.
RealElbV2DataPlaneProfile, RealEksProfile, SynchronousBillingEmissionProfile,
ShellLessBackendProfile and five profiles nested in their test classes now share
RdsMockProfile: each setting is read by one service that no other class in the
group calls, and only DynamoDbBackendResetIntegrationTest posts an emulator
reset, which its own backend refuses in the preflight; DynamoDB never starts
in this application, so no class here calls it. The billing pair gets a free
port rather than 4566. The profile's Javadoc lists every override and who relies
on it.
2026-11-17 22:36:54 -04:00
Priamo Germosen 09d8bd5b8b test: fold two Quarkus test profiles into IndependentServiceSettingsProfile (#8807)
Quarkus builds one application per distinct test profile at discovery and keeps
each for the rest of the surefire JVM, so every profile a shard holds costs heap.
ShellLessClusterProfile and StrictProtocolClaimingIntegrationTest's nested
profile now share IndependentServiceSettingsProfile. No other class in the group
calls ElastiCache, and strict claiming only answers an RPC-signaled request no
protocol claims differently, which only the two protocol classes send.
2026-11-17 22:25:36 -04:00
Priamo Germosen 70940e1f7f fix(iam): refuse a malformed policy ARN as AWS words it (#8802)
A PolicyArn that parses as no ARN cleared the declared length and reached
the lookup, so eight operations answered 404 NoSuchEntity where AWS answers
400 ValidationError. IamArnShapes reads the member after the generated
constraints and answers the two sentences the recordings carry: attaching
names the value, everything else reports nothing it could parse, the value
slot rendering empty. A PolicySourceArn of * is refused on the entity ahead
of the member's declared length, which is the order AWS answered it in.

The operations with no recording of their own follow the parse sentence,
documented on the IAM page beside the older recording it supersedes.
2026-11-17 22:25:03 -04:00
Priamo Germosen 3210ee0263 feat(emr): run the YARN timeline server and the Tez UI on a cluster's primary node in the docker runner mode (#8804)
With runner-mode docker, a cluster with Hadoop now runs the YARN
timeline server on its primary node, and one with Tez too the Tez UI
("Tez | http://master-public-dns-name:8080/tez-ui"), and
GetOnClusterAppUIPresignedURL opens both for real, on their own hosts,
as the cluster's other interfaces open (YarnTimelineService, TezUI).

The timeline server is Hadoop's own on its default port, 8188, its
store on the primary node's volume; the ResourceManager publishes its
applications to it, and, as no source gives how EMR's Tez reaches it, a
Hive step's Tez logs its DAGs to it through its REST interface
(ATSHistoryLoggingService). The Tez UI is Tez's own page, served on
8080, whose configuration (/etc/tez-ui/conf/configs.js, which the
image's page links to and lacks) names the timeline server and the
ResourceManager by the node's name, which Floci makes the link's hosts;
both answer cross-origin requests from the Tez UI's host. Both start
with the node's other daemons, the timeline server before the
ResourceManager, and the node is ready once both answer. The Tez UI runs
where the cluster's image has Tez, one with Hive or Floci's Pig, and an
image without its files serves none rather than keep the node from being
ready. Neither runs
for a release of the AWS runtime for Apache Spark, as their persistent
interfaces are not there.

EmrAppUiNightlyIntegrationTest runs them for real: after a Hive step,
the timeline server holds its Tez DAG and its application history, and
the Tez UI's page and configuration open, the timeline server answering
a request from the Tez UI's host.
2026-11-17 22:23:59 -04:00
Priamo Germosen 77565a9c60 fix(timestream-influxdb): give resource-tag conditions the tags of the resource a request names (#8803)
The generated request resources give Timestream for InfluxDB's
db-instance, db-cluster, db-parameter-group and db-backup types the
aws:ResourceTag/ key, but no service answered the timestream-influxdb
namespace's stored tags, so a condition on such a resource's tags saw
none. TimestreamInfluxDbService now answers it: storedTags reads the
resource the ARN's type and id name, under the Region the ARN names, in
the request's account, where the handlers read, in place, and matched
on the whole ARN. Tag calls already run one at a time and give the
resource a new map; the tags fields are now volatile.
2026-11-17 22:19:08 -04:00
mrfelek f06695cf08 fix(eks): forward the Pod Identity address to Floci with NAT rules while its add-on is installed (#8736)
A stock rancher/k3s node has no package manager, so the socat relay Floci installed for the EKS Pod Identity address, 169.254.170.23, never started, and every pod's credentials request timed out. The address is now sent straight to Floci's credentials endpoint with iptables NAT rules, a PREROUTING rule for the pod network and an OUTPUT rule for the node and hostNetwork pods, and what an older Floci set up for the address, its relay included, is removed. The rules follow the eks-pod-identity-agent add-on: CreateAddon adds them, DeleteAddon removes them unless preserve is set, and a node start or a restart's adoption sets them from the stored add-on, under a lock of the cluster. The Pod Identity webhook reads the same stored add-on.

Closes #5629
2026-11-17 21:50:25 -04:00
Murtuza Chhil 33ed71437d feat(paymentcryptography): a deletion is scheduled, and it can be cancelled (#8799)
DeleteKey removed a key at once, so there was no waiting period and nothing to cancel. It now schedules the deletion: the key is disabled and kept as DELETE_PENDING, with the moment the deletion takes effect after the DeleteKeyInDays waiting period (seven days by default), and it keeps its aliases, tags and resource policy. Floci does not sweep the period, so the key stays pending. RestoreKey cancels the deletion: the key returns to CREATE_COMPLETE without a pending timestamp and stays disabled until StartKeyUsage, as the guide's example shows. Replicas carry the pending state and its timestamp, a replica is not restored on its own, and a pending key refuses another deletion, StartKeyUsage and StopKeyUsage with ConflictException.
2026-11-17 21:23:28 -04:00
Priamo Germosen c2b9957032 fix(core): answer /_floci/ui/status with a map the native image can serialize (#8800)
GET /_floci/ui/status answered 500 in the native image: Jackson found
no properties on UiController.StatusResponse, a record whose components
the image carried no reflection metadata for, although the record had
@RegisterForReflection. The UI launcher polls this endpoint, so its
wait view stayed on "Starting Floci UI" after the sidecar was up.

The body is now a map, as the other /_floci endpoints build theirs,
which needs no reflection. Its {ready, url, error} shape is unchanged.

The AWS CLI compatibility suite, which runs against the native image,
calls the endpoint so a body that cannot be serialized there shows up.

Closes #5251
2026-11-17 21:20:07 -04:00