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

@@ -7,6 +7,7 @@ import org.junit.jupiter.api.MethodOrderer;
import org.junit.jupiter.api.Order;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.TestMethodOrder;
import org.junit.jupiter.api.parallel.ResourceLock;
import software.amazon.awssdk.services.ses.SesClient;
import software.amazon.awssdk.services.ses.model.CreateCustomVerificationEmailTemplateRequest;
import software.amazon.awssdk.services.sesv2.SesV2Client;
@@ -26,6 +27,7 @@ import static org.assertj.core.api.Assertions.assertThatThrownBy;
*/
@DisplayName("SES custom verification email templates (v1 + v2)")
@TestMethodOrder(MethodOrderer.OrderAnnotation.class)
@ResourceLock("ses-account")
class SesCustomVerificationEmailTemplateTest {
private static final String FROM = "cvet-sdk-sender@floci-cvet.test";