chore: keep aws-cdk flags out of botocore-bump and tidy two follow-ups (#7271)

regen_partitions.py reads each region's optIn and s3WebsiteDashForm from the
aws-cdk checkout, so make botocore-bump could carry unrelated flag changes and
aws-data-check-botocore accepted them. Add --carry-region-flags, which keeps the
stored flags and refuses a region with none, and use it in the botocore-only
targets. aws-data-sync and aws-data-check still read aws-cdk.

Hold the ses-account lock in SesCustomVerificationEmailTemplateTest, which sends
and could overlap a test that turns account sending off.

Correct the lambdaTaggedArn Javadoc, which still described the MicroVM tag target
from before #7145.

Signed-off-by: Hector Ventura <hectorvent@gmail.com>
Co-authored-by: Priamo Germosen <6233424+pgermosen@users.noreply.github.com>
This commit is contained in:
Hector VenturaandPriamo Germosen authored and GitHub committed 2026-11-02 08:56:39 -04:00
1 parent 7f4f2377c0
commit 0260a54ee2
6 files changed
+67 -15

No files matched your search

@@ -1134,8 +1134,8 @@ public class ResourceArnBuilder {
* The resource a Lambda tag route acts on, from the ARN it names. Tagging looks a function up by the
* ARN's Region and name, and a MicroVM image or network connector by the ARN's Region and trailing
* name, in the caller's own account whatever account the ARN names, so that resource is the one
* checked. The MicroVM tag handler takes any target holding {@code :microvm-image:} or
* {@code :network-connector:}, an {@code arn:} prefix or not, so the target is read as it reads it.
* checked. The MicroVM tag handler takes only a Lambda ARN naming an image or a connector with no
* version, so the target is read through {@link LambdaMicrovmsService#taggedResource}, as it reads it.
* Any other ARN, an event source mapping's included, has to name its resource exactly or is
* refused, so it is checked as written.
*/