CreateChangeSet now stores the template with its AWS::Include snippets
merged beside the submitted one, and DescribeChangeSet and
ExecuteChangeSet use that copy, so overwriting or deleting the S3
object after creation no longer changes the preview or what deploys. A
new change set reads the current object, UsePreviousTemplate included,
and a snippet that can't be read at creation fails the change set with
the reason in StatusReason. Creating a change set retries at most three
times when the stack changes under it, then answers ServiceUnavailable.
Co-authored-by: Andre Kurait <AndreKurait@gmail.com>
A SAML provider registered with CreateIdentityProvider now signs users
in through /oauth2/authorize, as OIDC and Google providers do. Floci
sends an unsigned AuthnRequest to the metadata's SingleSignOnService
and accepts the response at /saml2/idpresponse, on a custom domain and
on Floci's host, when its signature verifies with a metadata
certificate, it answers the request Floci sent, and its issuer,
audience, time window and bearer confirmation hold. The user is
reconciled as <ProviderName>_<NameID>, its attributes mapped by SAML
attribute name, and the client gets a Cognito authorization code.
The signature check moves to core/common/SamlSignatures, shared with
AssumeRoleWithSAML, and both now read an assertion's elements from
their parents' own children, so nothing placed inside a signature,
which its digest leaves out, is read.
A Step Functions task calling Scheduler, ECS, EMR, CloudFormation or
DynamoDB createTable was checked for its action and the roles it passes
but never for the tags it sends. Every arm now goes through
RequestChecks, so a runTask, createCluster, createStack family call or
createTable with tags needs the tag-on-create and tagging permissions
the generated tables give a direct call, and a request without tags is
checked exactly as before.
An ecs:runTask task now launches its tasks with the tags it is checked
for, building its request through the new EcsService.runTaskRequest
that the EventBridge and Scheduler targets share. RunTask with
propagateTags TASK_DEFINITION now gives a task the task definition's
tags beside the request's own, the request's value winning on a shared
key, instead of dropping the request's tags, and RunTask and StartTask
refuse a request whose merged tags would exceed 50 before any task
launches.
The DescribeNetworkInterfaces entry now lists the network interfaces of
interface VPC endpoints, and the guide shows the AWS CLI call that
finds them by the requester-managed and interface-type filters.
Co-authored-by: Andre Kurait <AndreKurait@gmail.com>
A PutEvents event carried EventGroupId and DeduplicationId in its
SystemMetadata only when the entry gave them. Both are now always set:
DeduplicationId is the given value or a random UUID, and EventGroupId is
the given value or that DeduplicationId. SystemMetadata follows AWS's
key order, aws:IngestionTime always has three fraction digits, and a
FIFO dead-letter queue takes the event's EventGroupId instead of a
random group of its own.
histogram_quantile, histogram_fraction, histogram_stddev and
histogram_stdvar follow Prometheus v3.16. A native histogram's quantile
is found from the lowest bucket below 0.5 or for a NaN sum and from the
highest otherwise, interpolated exponentially (Go's Log2 and Exp2) or
linearly in the zero bucket, which reaches only to zero when one side
has no buckets; NaN observations give the NaN-result and skew infos.
The fraction interpolates each bound the same way, and the variance
takes each bucket at the geometric mean of its bounds, Kahan-summed.
Float series with an le label are classic histograms, grouped by their
other labels: BucketQuantile and BucketFraction sort, coalesce and raise
falling counts, with the forced-monotonicity info merged over samples
as Prometheus merges it. A malformed or NaN le (read as Go's ParseFloat
reads it) and a native histogram of a classic one's labels are left out
with Prometheus's warnings. quantile, quantile_over_time and
histogram_quantile warn of a quantile outside 0 to 1.
log2 now takes Go's own Log of the fraction rather than Java's Math.log,
which differed in the last bit for some inputs and so moved a quantile
interpolated through it. Shortest number formatting writes the one digit
Go writes for the smallest subnormals (5e-324, where Java's toString
gives 4.9E-324), in the API's numbers and in annotations alike.
Part of #7030.
AWS::SES::ConfigurationSet accepted only Name, so a template with Tags
or any option property, including a CDK app with a Tags.of(...) aspect,
ended CREATE_FAILED. The provisioner now accepts Tags and every option
property, validates their shapes against the registry schema and passes
the values to SES. An in-place update writes only the options and tag
keys the stack owns, a tag change is checked against the final set
before anything is written, and a failed update rolls back only what it
changed. Boolean options are read through the shared
resolveOptionalBoolean.
Adds CreateGroup, DescribeGroup, ListGroups, DeleteGroup,
CreateGroupMembership, ListGroupMemberships, DeleteGroupMembership and
ListNamespaces. Groups and memberships are namespace-scoped records in
the account-aware store, a membership records the member's user ARN,
and DeleteUser and DeleteGroup remove the memberships they leave behind
by ARN in one atomic write. ListNamespaces reports default plus every
namespace holding a user or a group, since namespaces are implicit
here. The list operations share the module's pagination.
Closes#9836
rate, increase and delta of a histogram's range follow Prometheus
v3.16's histogramRate: the last histogram at the range's coarsest
schema less the first, each histogram before a counter reset added
back for a counter (the first taken as empty when the second follows a
reset), then extrapolated with the float path's factor, the count
standing in for the value. A counter reset is detected as
FloatHistogram.DetectReset detects one: a fall in the count, the zero
bucket or any bucket at the newer schema above the zero threshold, a
finer schema or a smaller zero threshold.
irate and idelta take the last two samples of either kind, resets and
changes count floats and histograms in time order, and a range of both
kinds has no rate with Prometheus's mixed-samples warning. Histograms
keep no counter reset hint, as the guide says rate treats every
histogram alike, so delta and idelta of histograms give Prometheus's
"this native histogram metric is not a gauge" warning.
Part of #7030.
Histogram samples now take part in arithmetic and aggregation as
Prometheus v3.16 lets them: a histogram is added to or taken from
another, multiplied by a float or divided by one, negated, and compared
with == and !=; two histograms are first brought to the coarser schema,
merging the finer one's buckets, and to the larger zero threshold, which
takes the buckets it then covers. Any other pairing keeps nothing, with
Prometheus's "incompatible sample types encountered for binary operator"
info between two vectors.
sum and avg add histograms with Kahan compensation (PromQlHistogramSum,
a port of KahanAdd on Floci's dense buckets), avg falling back to a
running mean when the sum overflows, and so do sum_over_time and
avg_over_time; a group or a range holding both floats and histograms has
no result and gets Prometheus's "encountered a mix of histograms and
floats" warning, which responses now carry under warnings. A computed
histogram is counted against the query's memory once, as a label set
is, and a data point whose buckets reach past the bucket of infinite
observations carries no sample.
Part of #7030.
Under enforcement a REST route no vendored model names runs unchecked, and Amazon MSK was among them: any caller could
create, describe, update or delete a cluster or a configuration. MSK's model routes are vendored
(regen_rest_routes.MODELS), so each request is checked as its operation's action, and kafka joins the generated tables
of request resources, passed roles and tags on create: a cluster, configuration, replicator, VPC connection or topic by
the ARN its path or body gives, CreateReplicator's and CreateChannel's service execution roles passed to kafka, and the
tags a create carries.
A JSON request carries a body member by its botocore locationName where one renames it, as MSK's do (Name is name on the
wire, ConfigurationInfo.Arn is configurationInfo.arn), and MSK's handler reads that name, so regen_iam_request_resources
names each body member path it reads as the request carries it (wire_named): a create is checked on the configuration or
cluster of the name MSK makes, and a body naming another under the botocore spelling too is checked on the one MSK
reads. GuardDuty's CreateFilter name and UpdatePublishingDestination destinationProperties, and API Gateway v2's portal
members, are read as their requests carry them too.
CreateClusterV2 names the configuration its brokers start from two structures deep (provisioned.configurationInfo.arn),
of a type the Service Reference lists for it, and the table read ARN members at most one structure deep, so
regen_iam_request_resources._nested_arns now reads too the members ending in Arn or Arns, holding a string, of a
top-level structure's structures, from botocore alone. 107 operations of other namespaces gain such a row; each ARN is
checked as one of the operation's types where it fits one and dropped where it does not, as one level deep already is,
so most (a KMS key, a role or a bucket naming no type of the action) change nothing. Those that do: Glue's CreateCatalog
and UpdateCatalog on their target catalog, EC2's RunInstances on the resource group a capacity reservation target names,
and Amazon Managed Service for Prometheus' CreateScraper on its workspace and EKS cluster and UpdateScraper on its
workspace. A create checks the tags it carries on what it makes alone, which the table marks by the type its name gives
past its verb; CreateClusterV2's subject, ClusterV2, names no type, so with_made now reads a subject named with a
version that names none without it, and CreateClusterV2 makes a cluster as CreateCluster does: a tagged create needs
kafka:TagResource on the new cluster, not on the configuration it names. A resource the request names by its ARN, or the
service's default a row stands for, exists already, so with_made never counts it as one the create makes, as no such row
of the table was: Glue's tagged CreateCatalog needs glue:TagResource on the catalog it makes, not on the Redshift
catalog it targets. That marks the created row of 95 creates across 38 namespaces; where the created row does not
resolve, the tag check still falls back to every resource the request names, so only a create naming an existing
resource of one of its types by ARN checks its tags on less.
MskStoredResourceArns answers the tags MSK holds on a cluster, read in place in the ARN's account, which an
aws:ResourceTag condition reads where the Service Reference gives the key (a cluster, not a configuration); a tag MSK
keeps with no value is read as an empty one, so it never fails the check.
AWS tags no MSK configuration: CreateConfiguration takes no tags, AWS::MSK::Configuration has none, the Service
Authorization Reference gives a configuration no aws:ResourceTag key and TagResource only assessment, cluster and
vpc-connection, and AWS's evaluation suite notes that TagResource rejects a configuration ARN ("Invalid input resource
arn"). Floci tagged them since #2366, so TagResource, UntagResource and ListTagsForResource now refuse a configuration's
ARN with that BadRequestException, as AWS does, and floci.services.msk.configuration-tags
(FLOCI_SERVICES_MSK_CONFIGURATION_TAGS, off by default) keeps the earlier tagging for state or scripts relying on it;
IAM checks those calls on '*', as no type of the action fits a configuration.
A namespace the table reads is served on its tag routes only at the ARN its path encodes, as Backup's and the others'
are, so MskControllerIntegrationTest's tag calls send the ARN encoded, as the SDKs do, rather than with its '/' raw.
The tables also take the RDS cluster group types (cluster-group, cluster-group-snapshot, cluster-group-auto-backup) AWS
added to the Service Reference on 2026-12-02, on its tagging and restore actions, which the online verify gate reads.
IamRestRouteEnforcementIntegrationTest checks that with no grant a configuration's read is refused, that a grant on one
configuration reads it and refuses another, that an aws:ResourceTag condition reads a cluster's tags, that a cluster
holding a tag with no value is refused rather than answered with a 500, and that CreateConfiguration is checked on the
configuration of the name MSK reads, a body naming another under the botocore spelling too included; that a deny on the
configuration CreateClusterV2 names refuses the create, and that a tagged one needs kafka:TagResource on its new cluster
alone; MskServiceTest and MskControllerIntegrationTest check that a configuration's tag calls are refused unless
configuration-tags is on; IamRequestResourceEnforcementIntegrationTest checks that a deny on the catalog Glue's
CreateCatalog targets refuses it and a deny on tagging that catalog does not refuse a tagged one;
test_regen_iam_request_resources checks the wire names a JSON body path is read by the path read two structures deep,
the type a create named with a version makes, and that no resource named by ARN is made.
Exponential histogram data points become native histogram samples, as
Prometheus's OTLP translator converts them: a scale above 8 is lowered to
8 by merging buckets, a scale below -4 carries no sample, OTLP bucket i
is bucket i + 1, and the zero threshold is Prometheus's 1e-128. Their
series carry __type__="histogram" and __temporality__, the labels the
user guide's "Querying histogram metrics" reads; __type__ is dropped
wherever the metric name is, as Prometheus drops it.
A series keeps its float samples apart from its histogram samples, so
the functions that do not mention native histograms ignore them, as
Prometheus's documentation says. histogram_count, histogram_sum and
histogram_avg read them; count, group, count_values (with Prometheus's
text form of a histogram), count_over_time, present_over_time,
last_over_time, timestamp and the label functions take them; min, max,
stddev, stdvar, quantile, topk and bottomk skip them with Prometheus's
"ignored histogram in <op> aggregation" info, placed as Prometheus places
it, returned under infos. The API writes histogram samples under
histogram and histograms as Prometheus does, with bucket bounds from
Prometheus's own table, and now writes numbers below 1e-6 and from 1e21
with an exponent, as Prometheus's MarshalFloat does.
Part of #7030.
QueryMetrics over a range, GET and POST /api/v1/query_range: the query
evaluated at each step from start to end, both included, answered as a
matrix in order of the series' labels, a scalar as a series with no
labels. Parameters are checked in the order and with the messages of
Prometheus 3.0's API (start, end, end before start, step as seconds or a
duration, zero or negative step, 11,000 points per series), then against
the guide's 30-day range. A range query and a subquery share one step
evaluator, and a range query's result keeps its memory charge as an
instant query's does.
The guide's per-account concurrency limits now apply to every PromQL
endpoint: 30 query and 30 discovery requests of an account at once, one
past that refused with a 429.
A query's parse and type errors now carry Prometheus's `invalid parameter
"query": ` prefix on both query endpoints. Folds in two leftovers of the
Jackson 3 move: PromQlSeries uses stringNode, and OtlpMetricsDecoder no
longer catches an IOException nothing throws.
Part of #7030.
GetDeploymentGroup and BatchGetDeploymentGroups returned each group
without its computePlatform, so SDK callers read null. Both reads now
fill it from the group's application when the group has none stored,
which covers new groups and ones saved before alike, and a stored value
still wins.
Co-authored-by: Andre Kurait <AndreKurait@gmail.com>
ListBuckets read prefix and bucket-region only to decide whether to
render each bucket's BucketRegion, so the list was never narrowed. Both
parameters now filter the listed buckets before the page is cut, so a
continuation token resumes the filtered list, and a sent prefix, empty
included, comes back as the response's Prefix. A bucket-region outside
the Regions AWS publishes, or other than the Region the request reached
(for a presigned request, the one its credential names), is refused
with InvalidArgument as AWS answers it.
Closes#9858
Part 2 of #7030. QueryMetrics (/api/v1/query) evaluates a PromQL
expression at one time over the stored OTLP metrics: a Prometheus 3.0
parser and a float engine with selectors, range selectors, subqueries,
the offset and @ modifiers, operators with vector matching, aggregations
and every non-experimental function but those of native histograms.
A result holds at most 500 series, truncated with the user guide's
warning, and every selector must name a metric. The guide's scan limits
and execution timeout bound the read, now shared with discovery, and a
query holds at most Prometheus's default 50,000,000 samples in memory.
SES raw sends, the SMTP relay and EKS bootstrap user data parse
client-supplied MIME with mime4j, and the 0.8.12 the Quarkus BOM manages
caps neither the part count nor the nesting depth, so a message of a
huge number of tiny parts made the emulator build an object graph for
every part. mime4j is now managed at 0.8.15, and MimeMessages, the one
place Floci parses client-supplied MIME, pins its limits: SES's quota of
500 MIME parts, and mime4j's defaults of 64 levels of nesting, 16,384
header fields and 1 MB of header bytes.
Over a limit, a raw send is refused with InvalidParameterValue
(BadRequestException on v2) "Raw message could not be parsed.", a
simple send whose assembled attachments exceed it is refused rather
than sent unscreened, the relay skips the message, and EKS reads the
user data as non-multipart.
A public Route 53 alias resolves only when a DNS record source claims
its target, and API Gateway had none, so an alias to a regional custom
domain's regionalDomainName returned REFUSED. ApiGatewayDnsRecordSource
now answers such an alias with the receiving listener's address, as
ElbV2DnsRecordSource does for an Application Load Balancer. The target
must name exactly one stored domain, in any account or Region, and the
alias's hosted zone ID must be that domain's regionalHostedZoneId; a
mismatch or an ambiguous name is REFUSED, and AAAA gets NOERROR with no
addresses.
Closes#9978
GetThingConnectivityData now answers for a registered thing from the
MQTT broker's account- and Region-scoped session history: whether it is
connected, the last event's timestamp in epoch seconds and the
disconnect reason, with no session details for a thing that has never
connected. With connectivity indexing off it answers
InvalidRequestException with AWS's message, and includeSocketInformation
is accepted without the socket fields Floci doesn't track.
Closes#9933
The ELB guide now gives the 5 to 300 second range CreateTargetGroup and
ModifyTargetGroup accept for HealthCheckIntervalSeconds, and says a
ModifyTargetGroup that omits it keeps the target group's current
interval.
Co-authored-by: Andre Kurait <AndreKurait@gmail.com>
Part 1 of #7030. GetSeries (/api/v1/series) and GetLabels (/api/v1/labels,
/api/v1/label/<name>/values) answer over the metrics the OTLP endpoint
ingests, with the labels, selector syntax, limits and Prometheus envelope
the CloudWatch user guide's PromQL pages give. Regular expressions are
RE2's, as Prometheus's are.
The guide's "IAM permissions for PromQL" table is vendored by a new fetcher
and read by the authorized-actions generator, so the operations are checked
as cloudwatch:ListMetrics, and QueryMetrics carries cloudwatch:ListMetrics
as a companion every request needs, which the enforcement filter checks.
@IamOperation can name a method's operation.
The OTLP 40 KB metadata limit counts the resource and scope schema URLs,
which PromQL reads as labels of the series.
CloudFormation dropped an S3 lifecycle rule's deprecated
NoncurrentVersionExpirationInDays, so the stack succeeded but S3 held no
noncurrent expiration. The resolved days are now sent as NoncurrentDays
when the structured NoncurrentVersionExpiration property is absent.
Parameter updates and moves between the legacy and structured forms keep
the bucket and replace its retention settings.
EKS runs no pod on a cluster's control plane, but Floci's k3s node is
both the control plane and the stand-in for the nodes Floci doesn't run,
so an Auto Mode cluster whose image catalog gives its nodes a real
kubelet still ran its workloads on the control plane. The node now
carries node-role.kubernetes.io/control-plane:NoSchedule, which
cluster-critical pods tolerate, where real nodes run user pods: an Auto
Mode cluster whose user-pod NodePools launch only architectures with a
self-registering image. A cluster with an active managed node group, or
with neither node groups nor Auto Mode, runs user pods on the node as
before, unless control-plane-runs-pods-without-nodes is false, which
leaves them Pending as on EKS. The taint is decided and written under
one lock per cluster, and Auto Mode's pass moves it with the NodePools.
regen_iam_passed_roles.py left Access Analyzer, Bedrock, CloudFront, FIS, GuardDuty and Macie out as "REST routes no
rule maps yet", and regen_iam_tag_on_create.py Inspector2 the same, but the request-resources table has read their
vendored REST routes since Floci began routing their requests by operation, so the reason no longer held: a request
passing a role to one of them needed no iam:PassRole, and an Inspector2 create's tags needed no inspector2:TagResource.
They move into each generator's NAMESPACES, and the generic rules read them with no correction: 23 role-passing
operations (Bedrock's model customization, evaluation, import and invocation jobs, agents, flows and knowledge bases;
FIS's experiment templates; GuardDuty's malware protection plans and scans; CloudFront's realtime log configs, from the
RoleARN of each endpoint in the XML body; Access Analyzer's policy generation and Macie's reveal configuration) and five
Inspector2 creates. Each operation is read whether or not Floci serves it, so one Floci adds is checked from the start.
No entry moves.
Floci's CloudFront parser took the first EndPoints anywhere in a realtime log config's body, and every child of it as an
endpoint, while the role is read from the request's own EndPoints, at the <member> botocore serializes each as, so an
<EndPoint>, or an EndPoints nested in another element ahead of the request's own, passed a role unchecked; the parser
now reads the <member> elements of the request's own EndPoints alone, as AWS's deserializer reads no other. IAM reads
the role of every KinesisStreamConfig's every RoleARN and none from a body where one holds elements, so an endpoint
holding more than one KinesisStreamConfig, or a config more than one RoleARN or StreamARN, or an ARN holding elements,
is refused with InvalidArgument rather than saved from one the check did not read. The request-resources table, which
leaves a passed role's member out of the resources a request names, is regenerated with the new passed roles: Bedrock's
evaluation, customization and invocation jobs, agents, flows and knowledge bases and FIS's experiment templates no
longer take their role's ARN as one of their resources.
OpenSearch stays out: AssociatePackage's role is AssociationConfiguration.KeyStoreAccessOption.KeyAccessRoleArn of the
opensearch client's request, while the Service Reference lists only the es client for it, so the generic rule finds no
role member; its reason now says so.
The Service Reference now also lists operations pinned botocore 1.44.14 does not model yet (SageMaker's model monitor
configs, IAM's workload identity creates); both tables are synced with them unread, as the generators record such an
operation.
IamPassRoleEnforcementIntegrationTest checks that creating and updating an FIS experiment template, a GuardDuty malware
protection plan and a CloudFront realtime log config each needs iam:PassRole on its role for the service it is passed
to, and that a realtime log endpoint under another element than <member>, or in an EndPoints nested ahead of the
request's own, saves no role, that a RoleARN holding an element, or doubled ahead of one, is refused, and that a body in
another charset than the UTF-8 both the check and the handler read saves no role.
AWS Config had no configuration aggregator operations, so Terraform's
aws_config_configuration_aggregator failed on create.
PutConfigurationAggregator, DescribeConfigurationAggregators and
DeleteConfigurationAggregator are now served, with aggregators stored
per account and Region. A second Put with the same name updates in
place, keeping the ARN and CreationTime. The source and region rules
refuse with AWS's messages, Describe pages 100 at a time, and an
unknown name is NoSuchConfigurationAggregatorException. Tags given on
the first Put work with the tagging operations, and IAM checks an
aggregator against its stored ARN and tags.
Closes#7019
The last step of #7887. A request a policy refused was answered with
"User is not authorized to perform: <action>" for every service but S3,
and the services that did name the policy type (S3, Athena's statements,
Lambda's network connectors) asked a second path, firstRefusal, which
re-ran the evaluation one policy type at a time.
The evaluator's DecisionRecord now carries the refusal an access denied
message names, worked out in the same decide() pass: the first policy
type that refuses, by its explicit deny or the allow it lacks, in the
order AWS was recorded naming them for lambda:PassNetworkConnector
(#6699): organization levels, identity policies, permissions boundary,
session policy. A resource policy's explicit deny comes first and its
missing allow across accounts last, as S3 names them (#9281). The SCP walk
keeps the first level that refuses.
AccessDeniedMessages.reason builds the phrase from that refusal, naming
the managed policy that holds the denying statement, or the boundary, by
its ARN. firstRefusal is gone. The enforcement filter explains each
decision instead of only evaluating it, and every policy refusal now
answers in the IAM User Guide's format, "User: <caller> is not
authorized to perform: <action> on resource: <resource> because no
identity-based policy allows the <action> action", in each protocol's
envelope. Refusals no policy made keep the old sentence.
Closes#7887
FLOCI_SERVICES_ELBV2_MAX_HEALTH_CHECK_INTERVAL_MILLIS caps the interval
Floci schedules target health probes at, for faster local health
transitions. The default 0 keeps each target group's requested interval;
a positive value lowers only the scheduled interval, leaving the API
settings, probe timeouts and healthy and unhealthy thresholds as the
target group has them. A negative value is refused at startup when
ELBv2 is enabled, before any runtime is restored.
An http or https notification was posted once and dropped on any
failure. It is now retried, as SNS does, when the endpoint answers 5xx
or 429 or cannot be reached, following the effective delivery policy:
the subscription's healthyRetryPolicy, the topic's
defaultHealthyRetryPolicy when overrides are disabled or the
subscription sets none, and otherwise the default of 3 retries 20
seconds apart. The no-delay, pre-backoff, backoff and post-backoff
phases, the delay targets and the backoff function are honoured, and
retries are scheduled rather than slept on a thread.
Any other answer is a permanent failure. A notification that fails
permanently or runs out of retries goes to the subscription's
RedrivePolicy dead-letter queue when one is set. Pending retries are
bounded per message by the policy, as on AWS, and a reset, shutdown,
Unsubscribe or DeleteTopic cancels them.
A subscriber with a Lambda target now applies its RetryPolicy and
OnFailureConfiguration. A failed invocation, a function error or a
function that does not exist, is retried after about 0.5 s and then four
times longer each time, until MaxRetryAttempts is used up or the next
retry would start after MaxEventAgeInSeconds from the event's ingestion;
a FIFO subscriber's later batches wait meanwhile. The batch then goes to
the OnFailureConfiguration queue as one record. Pending retries are kept
in memory, and a reset or deleting the subscriber drops them.
CreateSubscriber and UpdateSubscriber refuse an OnFailureConfiguration
queue of another Region or account, or an ARN outside the model's queue
pattern. A FIFO dead-letter queue gets the first event's group id and
event id as its message group and deduplication ids.
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
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
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
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.
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