Commit Graph
5349 Commits
Author SHA1 Message Date
Niels Kootstra c83940bf78 test(elasticache): build the log delivery test's clients through AwsTestClients (#8899) 2026-11-18 17:34:12 -04:00
Priamo GermosenandDaniël van Ziel 1df1af297d fix(docdb): isolate container identity by account and region (#8888)
A DocumentDB cluster's MongoDB container was named after the cluster
identifier alone, and the manager kept its live handles under that
identifier too. Creating a same-named cluster in another account or
Region removed the first cluster's container and replaced its handle,
so a later delete or shutdown could no longer reach it.

Container names now carry the account and Region
(floci-aws-docdb-<account>-<region>-<cluster>), and live handles are
kept by Docker ID. Deleting a cluster closes the log stream its
container was started with, which the handle DeleteDBCluster rebuilds
from the stored record does not carry.

Ported from #5724.

Co-authored-by: Daniël van Ziel <159726064+danielvanza@users.noreply.github.com>
2026-11-18 17:19:46 -04:00
Priamo Germosen 6afd82c9fb fix(guardduty): give resource-tag conditions the tags of the detector or plan a request names (#8909)
The generated request resources give GuardDuty's detector and
malwareprotectionplan types the aws:ResourceTag/ key, but no service
answered the guardduty namespace's stored tags, so a condition on a
detector's or a Malware Protection plan's tags saw none.
GuardDutyService now answers it: storedTags reads the detector or plan
stored under the Region the ARN names and its id, in the request's
account, where the tag handlers read, in place. A plan is matched on the
ARN it records; a detector, which records none, on the ARN its Region,
the account of its service role and its id give. Tag calls already run
one at a time and give the resource a new map; the tags fields are now
volatile.
2026-11-18 17:03:38 -04:00
Priamo Germosen 1c16ea57cd feat(emr-serverless): open an ended run's Spark History Server from its dashboard link (#8907)
With runner-mode docker, GetDashboardForJobRun's link for a Spark run's
attempt that has ended now opens a Spark History Server over the run's
event logs, and GetResourceDashboard's link does the same for a session
that has ended, as "For completed jobs, the application UI is a
persistent application user interface such as the Spark History Server"
and "After a session ends, the Spark History Server remains available".

A run's or session's driver keeps its event logs where the release's
image writes them, /var/log/spark/apps, on a Docker volume of its own,
for the 30 days EMR Serverless keeps logs in managed storage. The server
runs in a container of the release's image that starts as its link is
first opened, answering 503 until it is up, and stops once no link to it
is valid. A history goes 30 days after its run or session ended, or once
it has gone, which Floci checks as it starts and every hour; a restart
keeps the histories and a reset removes them.

A run whose logs are not kept in managed storage keeps no event logs
and still gets Floci's page, as do Hive runs, histories that have gone
and every link in the immediate mode.
2026-11-18 16:45:03 -04:00
Priamo Germosen d2facef773 fix(sts): refuse a session whose token exceeds the limit (#8883)
An oversized session was minted outright and PackedPolicySize was
published as a flat zero on every session, where AWS holds a session
token to one limit of 4096 bytes, refuses a token that will not fit with
PackedPolicyTooLarge 400 naming the size and the limit, and publishes
that member as the percentage of the limit the token consumes, the same
value as SessionTokenUtilization.

Both are answered now on the four operations that carry state into the
token they mint, the refusal read before anything is minted. The measure
is this emulator's own: the token it will mint, which
MinimumSessionTokenSize can ask to be longer, plus the state the request
carries into it in UTF-8 bytes. AWS assembles and compresses the real
thing, whose size follows the input in neither direction, so the numbers
differ; the IAM page records the one size recorded here, 26092 bytes for
about 19000 of input, so a later recording can calibrate the reading.
2026-11-18 16:06:45 -04:00
Priamo Germosen b57b837286 test: fold four TLS test profiles into the two shared TLS fixtures (#8902)
TlsLocalCaIntegrationTest, ContainerCaBundleDockerIntegrationTest and
EcrTlsUriIntegrationTest each laid down a local CA and a leaf of their
own. They run on SelfSignedTlsProfile now, which writes the same CA and
leaf, covers host.docker.internal and the regional ECR hosts, and now also
writes the Java trust store containers mount and advertises ECR's TLS
URIs. EcrTlsPathUriIntegrationTest needs the path style instead, so it
runs on IotMqttTlsProfile, whose leaf gains localhost.floci.io. The ECR
settings are read only by ECR's control plane and EKS, which no other
class on either profile calls.

The IoT classes stay apart: they dial 127.0.0.1 with hostname
verification, and two SelfSignedTlsProfile classes need that SAN absent.
2026-11-18 16:01:02 -04:00
Priamo Germosen 3f194c4c4f fix(controltower): give resource-tag conditions the tags of the landing zone or enabled control a request names (#8901)
The generated request resources give Control Tower's LandingZone and
EnabledControl types the aws:ResourceTag/ key, but no service answered
the controltower namespace's stored tags, so a condition on a landing
zone's or an enabled control's tags saw none. A new
ControlTowerStoredResourceArns answers it for the namespace, which two
services hold: a landing zone's tags are read in place under the Region
its ARN names, an enabled control's found by the ARN it records among
the Region's controls, as the tag handlers find it, both in the
request's account and matched on the whole ARN. Tag calls already give
the resource a new map; the tags fields are now volatile.
2026-11-18 16:00:15 -04:00
Priamo Germosen 3ffec01a76 feat(emr-serverless): open the live Spark UI from dashboard links (#8890)
With runner-mode docker, GetDashboardForJobRun's link for a Spark run's
attempt that has not ended now opens its driver's Spark UI for real, and
GetResourceDashboard's link does the same for a session's Spark Connect
server, as "For jobs in a running state, the application UI is a live
user interface such as the Spark or Tez web UI" and "While a session is
active, the URL opens the live Apache Spark UI".

Each link opens on a host of its own,
<secret>-4040.emr-serverless-ui.<Floci's host>, through the application
UI proxy EMR's on-cluster UIs use. That proxy moves to core.common
(AppUiProxy, AppUiRoutes, AppUiRoute, AppUiHost), and each service
registers the label its hosts are under. The runner turns the driver's
UI on for every EMR Serverless Spark run, as the release's image turns
it off, publishes port 4040 on the Docker host's loopback interface, and
keeps where Floci reaches it while the container runs.

A run whose logs are not kept in managed storage gets no live UI, as
with logs in S3 alone the application UI is "Not supported". A Hive
run, a run or session that has ended, and every link in the immediate
mode still open Floci's own page, which now says whether the attempt's
logs are in managed storage.
2026-11-18 15:41:25 -04:00
Joaquín Gamboa 3ebd1bc38c feat(dsql): back clusters with an external PostgreSQL server (#8795)
Aurora DSQL clusters needed Docker, so DSQL did not work where Floci has no Docker socket, such as ECS on Fargate. An opt-in external backend (floci.services.dsql.backend=external) now puts each cluster in a database and prefixed roles of its own on a PostgreSQL 16 or later server that is already running. Floci marks what it creates and changes nothing else, derives the backend roles' SCRAM verifiers from a per-cluster secret, and bounds every call to the server. A deleted cluster's sessions end before its roles are listed and dropped, and for both backends shutdown waits for starts and deletions still running. The differences a shared server cannot hide are listed with their reasons in the DSQL docs.

Closes #8486
2026-11-18 15:27:20 -04:00
Priamo Germosen 0effc633eb test: run the ELBv2 no-keep-alive class on IndependentServiceSettingsProfile (#8884)
ElbV2BackendNoKeepAliveIntegrationTest's nested profile turned the ELBv2
data plane on and backend keep-alive off. Both settings only act once a
class creates a listener or registers a target, which no other class on
IndependentServiceSettingsProfile does, and the class calls none of the
services that profile configures. ELBv2 looks the default subnets up in
EC2 the way Route53 and RDS do there, from what EC2 has stored, so EC2
running for real changes nothing for it.
2026-11-18 15:16:46 -04:00
Priamo Germosen 08e2824a2c test: run the Lambda leftover containers class on ScopedServiceSettingsProfile (#8887)
LambdaLeftoverContainersDockerIntegrationTest's nested profile set the
Lambda executor to docker, the default already, and a Docker resource
namespace of its own. ScopedServiceSettingsProfile names its containers
in this test JVM's sidecar namespace, which keeps the class's sweep away
from another Floci's containers just as well. The sweep removes only
Lambda environments, which no other class there starts, and the class
drives the launcher directly, so none of the ECS, CORS, partition or EC2
settings reaches it.
2026-11-18 14:59:21 -04:00
Priamo Germosen 4453ca9fe9 fix(securityhub): give resource-tag conditions the tags of the hub or configuration policy a request names (#8889)
The generated request resources give Security Hub's hub and
configuration-policy types the aws:ResourceTag/ key, but no service
answered the securityhub namespace's stored tags, so a condition on a
hub's or a configuration policy's tags saw none. SecurityHubService now
answers it: storedTags reads the account's state for the Region the ARN
names, in the request's account, where the tag handlers read, in place,
and matches the ARN hubArn or policyArn gives; a hub reads its tags only
while Security Hub is enabled there. A policy's tags change in place
under the service's lock, so the lookup takes that lock too.
2026-11-18 14:52:22 -04:00
Priamo Germosen ae856867bf test: run the S3 configured endpoint class on ConfiguredHostnameProfile (#8886)
ConfiguredHostnameProfile takes S3ConfiguredEndpointIntegrationTest's
hostname, configured-endpoint.localhost.floci.io, which the S3 class needs
since it names its buckets after the part before .localhost, with its
extra DNS suffix and S3 authentication. The IoT and API Gateway classes
check the configured hostname through the new HOSTNAME constant instead
of "floci". The name is not one of Floci's built-in suffixes, so the
regional execute-api host under it still routes only through the
configured hostname. No other class here calls S3 or uses the alias.
2026-11-18 14:32:32 -04:00
Priamo Germosen f1777164a3 test: share one sidecar profile across the Redshift access enforcement classes (#8885)
SidecarS3AuthEnforcedProfile becomes SidecarAccessEnforcementProfile and
takes Spectrum's Lake Formation enforcement from
SidecarSpectrumLakeFormationProfile, which goes. Lake Formation leaves a
table to IAM while the account's Data Lake settings leave new tables to
IAM, as AWS's defaults do, so the S3 authorization classes' Spectrum
queries pass it. The Lake Formation class takes new tables away from IAM
to check its grants, so it now puts AWS's defaults back when it is done.
Its role may read the bucket it queries, so S3 authentication leaves its
reads as they were.
2026-11-18 14:31:45 -04:00
mrfelek fd5f88debd refactor: read a stored resource's Region with regionOf where config's default stood in (#8874) 2026-11-18 14:17:05 -04:00
Niels Kootstra 66a9d647fb fix(elasticache): keep a replication group's log delivery configurations (#8846)
* fix(elasticache): keep a replication group's log delivery configurations
* fix(elasticache): refuse a log delivery configuration with an unknown or missing value
* fix(elasticache): settle log delivery to a missing log group as an error
2026-11-18 14:15:29 -04:00
glorfindel33 9e65c12f8c fix(cloudformation): use bus|rule as the physical id of an Events rule on a custom bus (#8864) 2026-11-18 13:58:05 -04:00
Priamo Germosen 2ac4554ea8 fix(ce): give resource-tag conditions the tags of the anomaly monitor or subscription a request names (#8881)
The generated request resources give Cost Explorer's anomalymonitor and
anomalysubscription types the aws:ResourceTag/ key, but no service
answered the ce namespace's stored tags, so a condition on a monitor's
or a subscription's tags saw none. CostAnomalyService now answers it:
storedTags reads the monitor or subscription stored under its whole ARN,
in the request's account, where the handlers read, in place. Every write
already puts a new record under the service's lock, so nothing to lock.
2026-11-18 13:43:11 -04:00
Angel Abad 4ac034d645 fix(rds): list aurora-postgresql 18.6 in DescribeDBEngineVersions (#8873)
DescribeDBEngineVersions returned nothing for Engine=aurora-postgresql with EngineVersion=18.6, because the catalogue stopped at Aurora PostgreSQL 17.4, so Terraform's aws_rds_engine_version data source failed with "no RDS engine versions found". The catalogue now lists 18.6 with major version 18 and family aurora-postgresql18, whose managed default cluster parameter group Floci already ships. 16.3 stays the default for a cluster that names no version, and 17.4 now lists 18.6 as an upgrade target.

Closes #8872
2026-11-18 13:36:42 -04:00
Murtuza Chhil 3f3625359a feat(paymentcryptography): a key pair signs a certificate signing request (#8832) 2026-11-18 13:35:25 -04:00
Niels Kootstra 8b7d06a9d1 fix(s3): keep listing a key's versions when the version-id-marker was deleted (#8845) 2026-11-18 13:21:16 -04:00
luiseterc 72b746be13 fix(rds): retain cluster settings and member promotion tiers (#8849)
RDS accepted a cluster's CopyTagsToSnapshot and CloudWatch log exports and an Aurora member's PromotionTier but returned none of them, so Terraform planned changes right after a successful apply. CreateDBCluster and ModifyDBCluster now keep CopyTagsToSnapshot, an explicit false included, and the enabled log exports, with a modify applying CloudwatchLogsExportConfiguration as enable and disable deltas and leaving omitted fields alone. PromotionTier is kept from CreateDBInstance and ModifyDBInstance, defaults to 1 and is refused outside 0 to 15 before anything changes, and both the instance and the cluster member list report it. The new fields persist, and state saved before them loads with the defaults.

Closes #8418
2026-11-18 13:17:50 -04:00
Priamo Germosen 1c3a6b615e test: run the lazy MQTT start classes on ServicesOffSettingsProfile (#8870)
LazyMqttTestProfile only moved the broker to port 18838, off the shipped 1883
a developer's running Floci may hold; the test config already leaves
auto-start off. Both classes stop the broker before and after each test, so
they need no application of their own, and no class on
ServicesOffSettingsProfile reaches the broker or calls IoT. The port becomes
ServicesOffSettingsProfile.MQTT_PORT.
2026-11-18 13:15:18 -04:00
Priamo Germosen 5548bb78eb fix(emr): give resource-tag conditions the tags of the session a request names (#8878)
The generated request resources give EMR's session type the
aws:ResourceTag/ and elasticmapreduce:ResourceTag/ keys, but
EmrService.storedTags answered clusters, Studios and notebook executions
and nothing for a session's ARN, so a condition on a session's tags saw
none. It now reads the session stored under the id the ARN ends in, in
the account the ARN names, in place, matched on the whole ARN, giving
the tags it started with.
2026-11-18 12:21:41 -04:00
Priamo Germosen 0842636ed9 fix(iam): refuse the instance profile pair as AWS words it (#8876)
An instance profile holds one role and both halves of that were wrong.
Adding a second answered prose where AWS names the quota that fired,
'Cannot exceed quota for InstanceSessionsPerInstanceProfile: 1', which is
the form this package already writes for nine other quotas. Removing a
role the profile never held removed nothing and answered 200 where AWS
answers 404 NoSuchEntity naming the role and the profile.

The tolerance the remove path was written for is kept and pinned: a role
deleted while the profile still lists it stays removable, which the
profile's own list decides. Whether the pairing is there and the removal
of it are one decision, taken on the monitor the attach path already
held, so a concurrent attach cannot land between them.

Both CloudFormation callers remove roles they read from the profile's
list, and a caller outside the stack can detach one in between, so each
tolerates a pairing that is already gone rather than leaving a stack
delete or a reconcile part way through. A profile that has itself gone is
a different case and still propagates, so the delete ends where it always
did.
2026-11-18 11:13:31 -04:00
Priamo Germosen 0c1ee1ea32 test: run the kubelet registration class on IamEnforcedServiceSettingsProfile (#8869)
EksKubeletRegistrationIntegrationTest's profile only named the kubelet image
catalog. The catalog replaces EC2's built-in one, so it can only share an
application with classes that launch no instance and look up no image, which
holds for the four classes on IamEnforcedServiceSettingsProfile. The kubelet
class's one request through the HTTP layer signs with a 12-digit account id
as the access key, which IAM enforcement passes through, and it creates its
cluster through the service directly.
2026-11-18 11:00:31 -04:00
Priamo Germosen 7b750b8455 fix(emr-containers): give resource-tag conditions the tags of the resource a request names (#8875)
The generated request resources give EMR on EKS's virtualCluster,
jobRun, managedEndpoint, jobTemplate and securityConfiguration types the
aws:ResourceTag/ key, but no service answered the emr-containers
namespace's stored tags, so a condition on their tags saw none.
EmrContainersService now answers it: storedTags reads the resource
stored under its ARN in the store its kind names, in the request's
account, where the handlers read, in place, and matches the ARN it
records. Every write already stores a new copy, so no lock change.
2026-11-18 10:49:52 -04:00
Priamo Germosen 81c5ecf777 test: run two more ECS Docker classes on ScopedServiceSettingsProfile (#8868)
Both classes ran on a profile of their own for real ECS containers, as
ScopedServiceSettingsProfile already does for the image pull class, with the
startup sweep off. The Linux parameters class's two switches, /dev/null as
the one host path a device may take and privileged containers allowed, move
there: only a task definition that asks for a device or privilege reaches
them, and only that class asks. Their tasks run in bridge mode, which
security-group enforcement never protects, and the pull on every launch the
image pull class needs runs their busybox tasks the same way, falling back to
the cached image when a pull fails.

Dropping the essential-exit class's own namespace would leave its containers
labelled by the port alone, so the profile now names its containers in this
run's sidecar namespace, which also covers the image pull class.
2026-11-18 10:31:58 -04:00
Priamo Germosen 4fe226c253 fix(iam): refuse a service namespace that names no AWS service (#8865)
The member's pattern admits anything word-shaped, so a value like
amazon-s3 satisfied everything the model declares and was answered 200
with an empty policy list, telling a caller the identity reaches nothing
rather than that the question was wrong.

Both operations that take a namespace hold it to the vendored catalog now,
through AwsServiceNamespaces.isPublished so nothing keeps a second list,
and each answers the sentence recorded for it: the list operation names
the rejected values inside AWS's own brackets, and the entity reader
carries AWS's own misspelling of namepace.

ServiceNamespaces is vendored for that to hold. The generator held the
whole member back because the operation answered an empty list with a
sentence of its own, and the cost was that no value in the list was read
at all: one breaking the published pattern reached the catalog check and
was answered InvalidInput where AWS answers ValidationError. The member
is read now, each value held to serviceNamespaceType and the list to its
bounds of 1 to 200, which also retires two answers that were this
package's own: an absent list is the required member the model declares,
and a list over 200 is the model's bound rather than a check beside it.

A namespace the job itself reports stays readable on
GetServiceLastAccessedDetailsWithEntities whether the catalog publishes it
or not, so the job is read first. The catalog is vendored, and a policy
may grant a service published after it: the report keeps the namespace
that policy names, so refusing it there would be this package disagreeing
with itself. Nothing else is exempt, and the list operation, which takes
namespaces rather than reporting them, holds every value to the catalog.
2026-11-18 09:55:49 -04:00
Priamo Germosen a72aedfbb0 fix(emr-serverless): give resource-tag conditions the tags of the application, job run or session a request names (#8853)
The generated request resources give EMR Serverless's application,
jobRun and session types the aws:ResourceTag/ key, but no service
answered the emr-serverless namespace's stored tags, so a condition on
their tags saw none. EmrServerlessStoredResourceArns now answers it for
the three services that hold them: storedTags reads the application, job
run or session by its id, in the request's account, where the tag
handlers read, in place, and matches it on its application and on the
whole ARN; a deleted application's resources name nothing. The tags
fields are now volatile.
2026-11-18 09:40:47 -04:00
Priamo Germosen 84e60f73a8 test: fold eight single-switch profiles into two shared ones (#8860)
Eight profiles each carried a switch only their own class reads. Four go into
ServicesOffSettingsProfile, which keeps the ten services ServiceEnablement
switches off, for classes that call none of them: the delegation partner
registration, the S3 restore delay and EC2 vCPU admission join it. The other
four go into ScopedServiceSettingsProfile, whose classes call DynamoDB, ECS and
FIS: ECS image pulls on real containers, the extra CORS settings, strict
partitions and the fixed mock public address. That profile also turns the ECS
startup sweep off, so an application a class without containers starts never
sweeps the Docker daemon. Each profile's Javadoc lists who relies on each
setting and why it never reaches the other classes.
2026-11-18 09:01:01 -04:00
Priamo Germosen b5994e4d9e test: fold four IAM-enforced one-off profiles into two shared ones (#8859)
RdsIamEnforcementProfile becomes IamEnforcedServiceSettingsProfile and takes
the classes of DsqlEnforcementProfile, of the nested IamEnforcementProfile of
LambdaExecutionRoleDockerIntegrationTest and of the
GlobalNamespaceIamOnlyProfile of
S3PresignedPostBucketPolicyAccountContextIntegrationTest. Each adds one service
setting, and no other class there calls the service it changes. The Lambda
class's fixed port 4587 becomes a free port chosen when the profile loads.

PartnerPermissionBoundaryEnforcementProfile folds into IamEnforcementProfile:
the partner registration only reaches a delegation request filed as the
partner account, which no other class there files. IamEnforcementProfile's
joining rule now asks that settings be inert both ways, as the other shared
profiles do.
2026-11-18 09:00:56 -04:00
Priamo Germosen 1f8dc1651d test: share the Pod Identity profiles and the AppSync IAM profiles (#8858)
The two EKS Pod Identity Docker classes each declared a profile named Profile
with the same webhook, TLS and port settings. Only the agent class's turned EKS
mocking off, which never reaches the other class: it stores its cluster and
add-on through the services directly. They now share EksPodIdentityProfile.

AppSyncHttpDataSourceSidecarIntegrationTest and
EventBridgeAppSyncSidecarIntegrationTest each declared an EnforcedSidecars
profile, the sidecar namespace and port with IAM enforcement, the first with
signature validation as well. AwsIamHttpDataSourceIntegrationTest declared the
same two switches without the sidecar settings, which never reach it: it starts
no container and sends to the port the application listens on. The three now
share SidecarIamEnforcementProfile. The EventBridge class creates and deletes
its stack through a signed CloudFormation client rather than a hand-written
Authorization header, which signature validation would refuse.
Its cleanup now holds the SDK clients in a try-with-resources, so each closes
whatever the stack and IAM cleanup throws.
2026-11-18 09:00:51 -04:00
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