Commit Graph
5406 Commits
Author SHA1 Message Date
mrfelek 07f93dc8e5 fix(cloudformation): give a created stack its template as soon as CreateStack answers (#9008)
A created stack got its template only once its creation started on an operation thread, after CreateStack had answered, so a GetTemplate or GetTemplateSummary in between answered {} and an empty summary. The execution claim, which marks the stack CREATE_IN_PROGRESS under the stack's lock, now sets the template the stack is created with, as it already sets the stack policy, and a claim the operation queue refuses restores the previous template from StackMutationSnapshot with the rest of the stack.
2026-11-19 13:17:02 -04:00
Murtuza Chhil ae6d138734 test(paymentcryptography): the body is the request the helper builds (#9009)
* test(paymentcryptography): the body is the request the helper builds
2026-11-19 13:15:47 -04:00
Allen Sanborn 079d4a2813 fix(rds): store and describe Iops and StorageThroughput on DB instances (#8777)
CreateDBInstance and ModifyDBInstance accepted Iops and StorageThroughput but dropped them, and DescribeDBInstances returned neither, so a Terraform aws_db_instance that set iops or storage_throughput never converged. Both are now stored from Create and Modify. Describe reports Iops on io1, io2 and gp3 and StorageThroughput on gp3, with the RDS User Guide's gp3 baseline when an instance named neither (12,000 IOPS and 500 MiB/s from 400 GiB, 200 GiB for Oracle, never for SQL Server; 3,000 and 125 otherwise), and StorageThroughput 0 on every other type. Iops on a type without provisioned IOPS, Iops=0 aside, and StorageThroughput off gp3 are refused with InvalidParameterCombination, a create naming Iops and no type defaults to io1, and a type switch drops values the new type does not carry.
2026-11-19 13:02:39 -04:00
rajp33 623be62f3a fix(iot): keep MQTT persistent sessions across reconnects (#8915) 2026-11-19 13:01:44 -04:00
mrfelek f94b28e702 fix(iam): read the stored tags of an EBS snapshot or an AMI, whose ARN carries no account (#9005)
* fix(iam): read the stored tags of an EBS snapshot or an AMI, whose ARN carries no account
2026-11-19 13:01:10 -04:00
Priamo Germosen 56d8b9aedc fix(iam): check EventBridge Pipes requests on the pipes they name, from the generated table (#9000)
Pipes was built by hand: ResourceArnBuilder read a pipe's name from its
path or a tagging route's ARN, IamEnforcementFilter sent Pipes requests
there without their operation, the request resources table held no Pipes
operation, and nothing gave a policy condition a pipe's tags. pipes
moves from HAND_BUILT to NAMESPACES, so the table gives each operation
the pipe its path's Name names, or the ARN a tagging route carries, from
botocore's REST model, and ResourceArnBuilder's Pipes branch and the
filter's Pipes case go. Only Pipes' operations change in the table.
PipesStoredResourceArns answers a pipe's stored tags; TagResource and
UntagResource give the pipe a new map one call at a time, and its tags
field is volatile.
2026-11-19 12:17:15 -04:00
Jackson PriceandAndre Kurait d8a638e4af fix(cloudwatch): preserve weighted samples on public metric APIs (#8974)
* fix(cloudwatch): preserve weighted samples on public metric APIs
* fix(cloudwatch): index Query fields before weighted parsing
* fix(cloudwatch): include datum paths in weighted length errors

Co-authored-by: Andre Kurait <AndreKurait@gmail.com>
2026-11-19 11:57:03 -04:00
Nick Lucas 9795119ce0 feat(lambda): support node selectors and tolerations for Kubernetes Lambda pods (#8967)
The Kubernetes Lambda executor built every pod without a nodeSelector or tolerations, so on a cluster whose node groups are all tainted the pods stayed Pending until the cold-start timeout. FLOCI_SERVICES_LAMBDA_KUBERNETES_NODE_SELECTOR takes key=value entries with label syntax for spec.nodeSelector, and an invalid entry fails the cold start rather than letting the pod land on nodes it was meant to avoid. FLOCI_SERVICES_LAMBDA_KUBERNETES_TOLERATIONS takes the tolerated taints in kubectl taint syntax (key=value:Effect, key:Effect, or a key alone for every effect), and an invalid entry is dropped with a warning, as an invalid label is. A repeated key now logs which value replaced which. The Helm chart, now 0.2.0, renders both from floci.lambda.kubernetes.nodeSelector and tolerations.

Closes #8992
2026-11-19 11:43:38 -04:00
Kenshin Okinaka a8cb033a98 fix(ses): validate template names the way SES does (#8996)
* fix(ses): validate template names the way SES does
2026-11-19 11:43:00 -04:00
mrfelek 573cb9e9b7 fix(cloudformation): keep stack sets with their instances and operations in their Region (#8987) 2026-11-19 11:41:49 -04:00
Murtuza Chhil c2721ca938 fix(paymentcryptography): a member the request carries as null is absent (#8975)
* fix(paymentcryptography): a member the request carries as null is absent
2026-11-19 11:25:17 -04:00
Hector Ventura 030ba3d72b chore(ci): run the EMR Docker runner test nightly, beside the cluster shrink check (#8957)
EmrDockerRunnerDockerIntegrationTest pulls a 3.5 GB image and took about 640 s of a passing pull request shard, so after #8903 moved its cluster shrink scenario to the nightly checks, the rest of the class follows as EmrDockerRunnerNightlyIntegrationTest. partition.sh no longer weighs it: SLOW_CLASSES comes from PARTITION_SLOW_CLASSES, empty by default, and test_partition.py passes its own. The standard nightly group has no room for it (339 of its 359 minutes), so the cluster-shrink group becomes docker-runner, with both classes in 42 minutes of bounds in a 62-minute job. On a pull request, the nightly checks now run only the nightly classes it adds or changes, or all of them when it changes the workflow.
2026-11-19 11:22:50 -04:00
Oleksandr Nikolaichuk 5b2c46f358 feat(eks): apply UpdateClusterConfig for endpoint access, logging and authentication mode (#8769)
Floci now implements UpdateClusterConfig for endpoint public and private access, publicAccessCidrs, logging and authentication mode, each stored as an update DescribeUpdate returns. As on EKS, one request names one family, the authentication mode moves one step forward (CONFIG_MAP, API_AND_CONFIG_MAP, API), turning both endpoints off or sending an endpoint or logging update that changes nothing is refused with EKS's messages, and a repeated clientRequestToken returns the first update. A different subnet or security group list, and any other member, the Auto Mode ones included, are refused. DescribeUpdate with an addonName no longer answers a cluster update.
2026-11-19 11:18:04 -04:00
Vũ Thế Huy a06be2d292 feat(glue): run Spark job scripts in a container (#8568) 2026-11-19 11:14:30 -04:00
mrfelek 379ac190c3 fix(s3vectors): answer S3 Vectors' messages for a create under a taken name (#8973)
A second CreateVectorBucket or CreateIndex under a name already taken answered ConflictException with a message of Floci's own, naming the bucket or the index. It now answers S3 Vectors' "A vector bucket with the specified name already exists" and "An index with the specified name already exists", as measured on AWS. The type and the 409 stay.
2026-11-19 11:13:36 -04:00
Kenshin Okinaka 57e4859f32 refactor(ses): move the content scan into the mime package (#8986) 2026-11-19 11:12:56 -04:00
TATSUNO “Taz” Yasuhiro f094103b31 feat(lambda): add InvokeWithResponseStream (#8964)
* feat(lambda): add InvokeWithResponseStream
* feat(lambda): report a streaming handler's error in InvokeComplete
* fix(lambda): send response stream chunks while the function runs
* fix(lambda): build Invoke qualifier violations with the shared helpers
* test(lambda): exit the streaming handler from the write callback
2026-11-19 11:10:09 -04:00
Jimmy Liu Jia d7e46525eb refactor(route53resolver): share integration request helper (#8965)
The Route 53 Resolver tests each built the same JSON 1.1 request by hand, with its content type, X-Amz-Target and Authorization headers. They now go through one Route53ResolverRequests.call in the testing package, across the integration, region scoping, rule filter, tagging and consumer tests, and their copies of the content type constant are gone.
2026-11-19 11:09:58 -04:00
luiseterc c81d9dab46 fix(sqs): read resource tags from the queue owner account (#8866) 2026-11-19 11:04:10 -04:00
Ignas 6f71e2877f fix(rds): keep DB proxies across restarts in file-backed storage (#8970)
DbProxy.getEndpoint() is a getter with no setter, so the storage mapper wrote an "endpoint" field to rds-proxies.json and then refused it as unknown on load. The file was quarantined and every DB proxy was lost on restart in persistent, hybrid and wal modes. The mapper now ignores the getter; endpointHost is still stored, and the RDS response and the CloudFormation Endpoint attribute still read it.

Closes #8968
2026-11-19 10:47:56 -04:00
Oleksandr Nikolaichuk 5a0529ba31 fix(cloudformation): update an API Gateway stage in place and delete it with the stack (#8851)
An AWS::ApiGateway::Stage was created again on every stack update, dropping stage variables set outside the stack. It is now patched in place for DeploymentId and Description and restored on rollback. A StageName change replaces it, and a RestApiId change moves it: the stage left on the old API is deleted through the lifecycle records once the update commits, with its delete events, unless UpdateReplacePolicy: Retain keeps it. A new stage whose name is already taken on the API is refused with "Stage already exists", and the stage is deleted with the stack.
2026-11-19 10:36:39 -04:00
Vũ Thế Huy 8db9542226 fix(redshift): tokenize streaming view JOIN and aggregate checks with SqlParameterParser (#8977)
The JOIN and aggregate checks on a streaming materialized view blanked string literals with their own regex, which paired the quotes of an escape string such as E'\'' wrongly: a JOIN or an aggregate after it could hide inside a bogus literal, and a keyword inside E'it\'s a join' was refused. The checks now run on the query as SqlParameterParser tokenizes it, through a new blankQuoted that empties quoted strings, quoted identifiers and dollar-quoted bodies and drops comments. The Redshift DDL rewrite masks its string literals through the same tokenizer's literalSpans instead of a second regex.
2026-11-19 10:30:29 -04:00
Hector Ventura b9ebbe0a42 feat(docker): count open Docker streams per service and add a saturation harness (#8953)
* feat(docker): count open Docker streams per service and add a saturation harness
* fix(docker): match container routes at the start of the path, and tidy the harness
* test(docker): drop the saturation harness's quiet-stream sleep
2026-11-19 10:14:01 -04:00
Priamo Germosen 43d6ea4961 fix(iam): check Kinesis Data Streams requests on the resources they name, from the generated table (#8989)
Kinesis was built by hand: ResourceArnBuilder read a request's
StreamARN, StreamName or ResourceARN into one ARN and checked everything
else on stream/*, the request resources table held no Kinesis operation,
and nothing gave a policy condition a stream's tags. kinesis moves from
HAND_BUILT to NAMESPACES, so the table gives each operation the
resources botocore's members name as the Service Reference types them:
the stream by StreamARN or StreamName, a consumer by ConsumerARN, a
tagged resource by ResourceARN, and the KMS key StartStreamEncryption
and StopStreamEncryption name. Its ResourceArnBuilder branch goes. Only
Kinesis's operations change in the table. KinesisStoredResourceArns
answers a stream's or a consumer's stored tags; the tag calls give the
resource a new map under their lock, and the tags fields are volatile.
2026-11-19 10:04:27 -04:00
Hector Ventura ad0e47910f fix(docker): open long-lived exec streams on the streaming Docker pool (#8950)
* fix(docker): open long-lived exec streams on the streaming Docker pool

CodeBuild build phases, SSM run commands, ECS Exec sessions, the EKS audit log follower, ECR garbage collection, EC2 and EKS user data scripts and EMR bootstrap actions held a control-plane connection for as long as their exec ran, so enough of them could leave the short Docker calls waiting for a lease. Their exec starts now use the @StreamingDocker client: ContainerLifecycleManager exposes getStreamingDockerClient(), CodeBuildRunner and SsmDirectCommandExecutor inject it, and UserDataPipeline and ContainerExec take it beside the control-plane client. Neither transport replays an exec start and both exempt it from the response timeout, so only the pool changes; creating, inspecting and resizing an exec stay on the control plane. The connection pool docs, the environment variable tables, the application.yml comment and the javadocs now name these streams.

Signed-off-by: Hector Ventura <hectorvent@gmail.com>

* fix(codebuild): close a timed-out phase's output stream, and drop the test-only constructor

runPhase discarded the callback of its exec start, so a phase that timed out or was interrupted left its output stream open, now holding a streaming connection for as long as the command ran on; it is now closed. ContainerLifecycleManager's public four-argument constructor existed only so tests could pass one client for both pools; it goes, and those tests name both clients through the injected constructor.

Signed-off-by: Hector Ventura <hectorvent@gmail.com>

* test(docker): give the reachability test the streaming client the constructor now takes

Signed-off-by: Hector Ventura <hectorvent@gmail.com>

#8951 added ContainerLifecycleManagerReachabilityTest with the four-argument constructor this branch removes, so the two no longer compiled together on main.

---------

Signed-off-by: Hector Ventura <hectorvent@gmail.com>
2026-11-19 07:50:43 -06:00
Priamo Germosen aabe2247c5 fix(iam): check SNS requests on the topics they name, from the generated table (#8971)
SNS was built by hand: ResourceArnBuilder read a request's TopicArn and
checked everything else on the account's open topic ARN, the request
resources table held no SNS operation, and nothing gave a policy
condition a topic's tags. sns moves from HAND_BUILT to NAMESPACES, so
the table gives each operation the topics botocore's members name
(TopicArn, ResourceArn, TargetArn, and CreateTopic's Name), and its
ResourceArnBuilder branch goes. Only SNS's operations change in the
table. SnsStoredResourceArns answers a topic's stored tags; TagResource
and UntagResource give the topic a new map one call at a time, and its
tags field is volatile.
2026-11-19 08:50:08 -04:00
Niels Kootstra 96015e7532 test(elasticache): build the remaining test clients through AwsTestClients (#8962) 2026-11-19 08:33:55 -04:00
Charles Swanberg 69b80fb353 fix(eventbridge): match an event pattern's wildcard filter (#7357)
* fix(eventbridge): match an event pattern's wildcard filter
2026-11-19 08:04:49 -04:00
rajp33 4d12c76411 fix(rds): refuse plaintext PostgreSQL connections when rds.force_ssl is 1 (#8663)
With rds.force_ssl set to 1 in a PostgreSQL instance's DB parameter group, or in an Aurora PostgreSQL cluster's DB cluster parameter group, the RDS auth proxy refuses a startup that did not negotiate TLS with FATAL "no pg_hba.conf entry for host ..., no encryption" (SQLSTATE 28000), before the password exchange and without opening a backend connection. The value is read from the current parameter group on every new connection, as the parameter is dynamic on AWS. On Aurora it comes from the cluster parameter group only, looked up in the account and Region the relay ARN names, for the cluster endpoint and member endpoints. RdsRequests.createPostgresInstance takes an optional DB parameter group, and the docs give the RDS and Aurora PostgreSQL versions whose default groups force SSL.

Closes #8641
2026-11-19 07:52:07 -04:00
Niels Kootstra 4c0f8237f6 test(cloudformation): read the queue failure through CfnStackWaits (#8961)
* test(cloudformation): read the queue failure through CfnStackWaits
2026-11-19 07:44:45 -04:00
TATSUNO “Taz” Yasuhiro 0aa5ecd1de fix(dynamodb): order unprojected PartiQL columns by name hash (#8867)
* fix(dynamodb): order unprojected PartiQL columns by name hash
2026-11-19 07:32:09 -04:00
mrfelek 10824e6701 feat(eks): accept EKS Auto Mode's cluster configuration (#8940)
* feat(eks): accept EKS Auto Mode's cluster configuration
* fix(eks): create Auto Mode clusters from CloudFormation, refuse a lone node role
* fix(eks): leave EKS Auto Mode out of AWS::EKS::Cluster until step 2
2026-11-19 07:25:23 -04:00
mrfelek 3316d46df3 fix(s3vectors): check create names by S3 Vectors' naming rules and answer its not-found messages (#8966) 2026-11-19 07:25:11 -04:00
Andre Kurait 5f38401fdd fix(codeartifact): use HTTP/1.1 for the PyPI sidecar (#8946) 2026-11-19 07:22:26 -04:00
Priamo Germosen 634073fb83 fix(iam): check SQS requests on the queue their URL reaches, from the generated table (#8943)
SQS was built by hand: ResourceArnBuilder read a request's QueueUrl or
QueueName into a queue ARN, the request resources table held no SQS
operation, and nothing gave a policy condition a queue's tags. botocore
documents every QueueUrl as "The URL of the Amazon SQS queue ...", which
the generator's documentation rule did not read: it took only a name, an
id or an identifier as what a member names, and the service's own name
stood between "the" and the type's word. It now reads a URL as one more
such kind, and a member's lead drops its model's own service name as
botocore's metadata spells it before the word it qualifies, and a
hyphenated word before the type's word qualifies it ("The URL of a
dead-letter queue"), so QueueUrl names the queue; being neither the
queue's name nor its id, SQS finds it (find). Only SQS's operations
change in the table. sqs moves from HAND_BUILT to NAMESPACES and its
ResourceArnBuilder branch goes. SqsStoredResourceArns finds the queue a
URL reaches as the handlers do, in the account the URL names, and
answers a queue's stored tags; TagQueue and UntagQueue give the queue a
new map one call at a time, and its tags field is volatile.
2026-11-19 07:16:17 -04:00
Kenshin Okinaka 79646214e7 refactor(ses): share the EventBridge destination refusal and its test (#8954)
* refactor(ses): share the EventBridge destination refusal and its test
2026-11-19 07:14:48 -04:00
Jimmy Liu Jia 878f09f470 fix: group CloudFormation string constraint violations (#8949) 2026-11-19 07:13:09 -04:00
Daniël van Ziel 84a1f911a3 fix(route53resolver): apply the Filters parameter of ListResolverRules (#8936)
ListResolverRules ignored Filters and returned every rule of the Region. The handler now passes them to the service, which keeps the rules matching every filter, a filter matching on any of its values. The names are the ones the API lists (CreatorRequestId, DomainName, Name, ResolverEndpointId, Status and Type), in their current or legacy upper-case form, and a name the operation does not list is ignored. DomainName is compared without its trailing dot, as CreateResolverRule takes either. An empty filter name or value, one over 64 or 600 characters, or Filters and Values that are not lists answer InvalidParameterException.

Closes #8905
2026-11-19 07:13:06 -04:00
Murtuza Chhil d2fde68865 feat(paymentcryptography): the material of a key may be translated (#8941)
* feat(paymentcryptography): the material of a key may be translated
* test(paymentcryptography): the sample's key agreement in the compatibility test
* test(paymentcryptography): the wrapped key's format is the model's enum
* fix(paymentcryptography): a verification reads the formats the reference verifies
* docs(paymentcryptography): the deviations the reference's documentation shows
* test(compatibility-tests): a verification of a format the reference does not read
* fix(paymentcryptography): a translation holds to the rules the export and the import hold to
* fix(paymentcryptography): a translation refuses a key whose usage its algorithm does not serve
2026-11-19 07:08:29 -04:00
Jackson Price d28bdf664b feat(route53): validate stored ALB targets for public DNS aliases (#8942) 2026-11-19 07:05:14 -04:00
Hector Ventura b388616273 refactor(docker): share one Docker reachability probe across the container managers (#8951) 2026-11-19 07:02:21 -04:00
Andre Kurait fb59000838 test(emr): move the cluster shrink scenario to nightly checks (#8903)
* test(emr): move the cluster shrink scenario to nightly checks
2026-11-19 06:50:46 -04:00
Andre Kurait 7c2018ffd6 feat(ec2): create and list network interface permissions (#8891) 2026-11-19 00:28:03 -04:00
mrfelek e3b7fd286c refactor: read MWAA, Lambda, Amazon MQ and Cognito Regions with regionOf (#8938)
* refactor: read MWAA, Lambda, Amazon MQ and Cognito Regions with regionOf
2026-11-19 00:22:11 -04:00
Priamo Germosen 987a2e581b chore(iam): regenerate the request resources table for the Service Reference's latest changes (#8944)
The Service Reference now gives Managed Service for Apache Flink's
snapshot actions and tag actions a snapshot resource type, so
iam-request-resources-verify fails on every change touching the table:
CreateSnapshot and ListSnapshots act on the application, the other
snapshot actions on the snapshot, and the tag actions on either. make
iam-request-resources-sync, with no change to the generator, brings that
in, with the actions AWS added since the table was last written: Cognito
user pools' point-in-time recovery, Lambda's durable execution delete,
pause and resume, and EC2's ModifyTransitGatewayPeeringAttachment, each
read by the existing rules, and three namespaces Floci does not serve in
otherNamespaces.
2026-11-19 00:02:34 -04:00
Joaquín Gamboa afd3107151 fix(cloudfront): store and return a distribution's ConnectionMode (#8934)
* fix(cloudfront): store and return a distribution's ConnectionMode
* test(cloudfront): deploy the ConnectionMode stack with CfnRequests and check refusals store nothing
2026-11-18 23:53:11 -04:00
Jimmy Liu Jia 9a38bd0bd2 feat(route53resolver): support VPC DNSSEC configuration updates (#8904) 2026-11-18 23:50:54 -04:00
Andre Kurait 7796320d11 test(ecs): retain a running container in the launch fixture (#8939)
* test(ecs): retain a running container in the launch fixture
2026-11-18 23:24:44 -04:00
Hector Ventura af167ca298 fix(ec2): answer subnet and VPC dependency checks without waiting on Docker (#8930)
* fix(ec2): answer subnet and VPC dependency checks without waiting on Docker
* fix(ec2): let a dependency check see a healthy daemon's answer
* test(ec2): check the single background look without a fixed wait
2026-11-18 23:22:34 -04:00
Hector Ventura eb1b9a0a7d fix(docker): bound a retried Docker call by the call timeout, not each attempt (#8931)
api-timeout-seconds bounded each attempt, and the control-plane transport retries a replayable request up to six times, so a silent daemon held a call for about six times the setting plus backoff. DockerRetry now takes one deadline across attempts and backoffs, counted from the first attempt, and checks it again after each backoff so an overslept sleep starts no attempt past it. The producer gives it to the control-plane client only: a silent daemon fails the call after one attempt, fast transient failures are still retried within the limit, and long-lived streams (image pulls, container waits), which have no response timeout, keep their retries. A running attempt is not cut short. DockerRetry.call takes the clock and the backoff wait, so the tests advance a test clock instead of sleeping.
2026-11-18 23:21:44 -04:00