Skip to content

Commit 4822cf1

Browse files
Upgrade: [dependabot] - bump @aws-sdk/client-firehose from 3.896.0 to 3.901.0 (#1594)
Bumps [@aws-sdk/client-firehose](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-firehose) from 3.896.0 to 3.901.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/aws/aws-sdk-js-v3/releases"><code>@​aws-sdk/client-firehose</code>'s releases</a>.</em></p> <blockquote> <h2>v3.901.0</h2> <h4>3.901.0(2025-10-01)</h4> <h5>Chores</h5> <ul> <li><strong>codegen:</strong> <ul> <li>bump Gradle to 9.0.0 (<a href="https://redirect.github.com/aws/aws-sdk-js-v3/pull/7390">#7390</a>) (<a href="https://github.com/aws/aws-sdk-js-v3/commit/1e004195a36d0198a2e8430b809063d25e49d262">1e004195</a>)</li> <li>bump codegen version to 0.36.0 (<a href="https://redirect.github.com/aws/aws-sdk-js-v3/pull/7393">#7393</a>) (<a href="https://github.com/aws/aws-sdk-js-v3/commit/d0a9cd8b8ac2dd0fb5fe2a6263e81252cde466db">d0a9cd8b</a>)</li> </ul> </li> <li>add more bundle types to the benchmark (<a href="https://redirect.github.com/aws/aws-sdk-js-v3/pull/7392">#7392</a>) (<a href="https://github.com/aws/aws-sdk-js-v3/commit/97078ce620c47657072d9082ba8372bdeb510e70">97078ce6</a>)</li> <li>bump '@smithy/*' versions (<a href="https://redirect.github.com/aws/aws-sdk-js-v3/pull/7391">#7391</a>) (<a href="https://github.com/aws/aws-sdk-js-v3/commit/0a418cc265b71347d0582d7ec2b937d51f5407ce">0a418cc2</a>)</li> </ul> <h5>Documentation Changes</h5> <ul> <li><strong>client-ecs:</strong> This is a documentation only Amazon ECS release that adds additional information for health checks. (<a href="https://github.com/aws/aws-sdk-js-v3/commit/a5652334b742048bf9b8f71d6fcf6a898011afe5">a5652334</a>)</li> <li><strong>client-database-migration-service:</strong> This is a doc-only update, revising text for kms-key-arns. (<a href="https://github.com/aws/aws-sdk-js-v3/commit/629c6306c9e875913a5aeaca0dfd700a5368291d">629c6306</a>)</li> </ul> <h5>New Features</h5> <ul> <li><strong>client-chime-sdk-meetings:</strong> Add support to receive dual stack MediaPlacement URLs in Chime Meetings SDK (<a href="https://github.com/aws/aws-sdk-js-v3/commit/c32ced42006da139afd5a68f1bfb719c25d3557f">c32ced42</a>)</li> <li><strong>client-cleanroomsml:</strong> This release introduces data access budgets to view how many times an input channel can be used for ML jobs in a collaboration. (<a href="https://github.com/aws/aws-sdk-js-v3/commit/a6cc054b0f654118d455e9ff018c8020499311c9">a6cc054b</a>)</li> <li><strong>client-cleanrooms:</strong> This release introduces data access budgets to control how many times a table can be used for queries and jobs in a collaboration. (<a href="https://github.com/aws/aws-sdk-js-v3/commit/783dbc10a03aa60bcedb7da715026a741378ea0d">783dbc10</a>)</li> <li><strong>client-pcs:</strong> Added the UpdateCluster API action to modify cluster configurations, and Slurm custom settings for queues. (<a href="https://github.com/aws/aws-sdk-js-v3/commit/3b9d480eaffccc6629de49b83c0cc6fa7131a130">3b9d480e</a>)</li> <li><strong>client-ivs-realtime:</strong> Remove incorrect ReadOnly trait on IVS RealTime ImportPublicKey API (<a href="https://github.com/aws/aws-sdk-js-v3/commit/8b79cdc1a70cf11a8bd3099f495fe55ed8a012b5">8b79cdc1</a>)</li> </ul> <hr /> <p>For list of updated packages, view <strong>updated-packages.md</strong> in <strong>assets-3.901.0.zip</strong></p> <h2>v3.900.0</h2> <h4>3.900.0(2025-09-30)</h4> <h5>Chores</h5> <ul> <li><strong>codegen:</strong> <ul> <li>replace legacy gradle plugin code (<a href="https://redirect.github.com/aws/aws-sdk-js-v3/pull/7389">#7389</a>) (<a href="https://github.com/aws/aws-sdk-js-v3/commit/e2b60b5dc7e585a9541decce8c8f43418dcfe195">e2b60b5d</a>)</li> <li>bump smithy-plugin to 0.7.0 (<a href="https://redirect.github.com/aws/aws-sdk-js-v3/pull/7388">#7388</a>) (<a href="https://github.com/aws/aws-sdk-js-v3/commit/b9cbc47569df8a2df7b66ac8eace1d31bb02a64a">b9cbc475</a>)</li> <li>bump smithy-gradle-plugin to 1.3.0 (<a href="https://redirect.github.com/aws/aws-sdk-js-v3/pull/7387">#7387</a>) (<a href="https://github.com/aws/aws-sdk-js-v3/commit/f449c5b86ada847b37878eab3bc0e5d2614d0332">f449c5b8</a>)</li> <li>upgrade smithy to 1.62.0 (<a href="https://redirect.github.com/aws/aws-sdk-js-v3/pull/7386">#7386</a>) (<a href="https://github.com/aws/aws-sdk-js-v3/commit/568fe9a65619bbb51a58587f4860cefe65867c67">568fe9a6</a>)</li> </ul> </li> </ul> <h5>Documentation Changes</h5> <ul> <li><strong>client-quicksight:</strong> added warnings to a few CLI pages (<a href="https://github.com/aws/aws-sdk-js-v3/commit/1ea0f8896d92e6677db80a0cded6f3c481bc2942">1ea0f889</a>)</li> </ul> <h5>New Features</h5> <ul> <li><strong>clients:</strong> update client endpoints as of 2025-09-30 (<a href="https://github.com/aws/aws-sdk-js-v3/commit/453bf08d09a0d3bf43ca35842a064bc50eb7cd8a">453bf08d</a>)</li> <li><strong>client-customer-profiles:</strong> This release introduces ListProfileHistoryRecords and GetProfileHistoryRecord APIs for comprehensive profile history tracking with complete audit trails of creation, updates, merges, deletions, and data ingestion events. (<a href="https://github.com/aws/aws-sdk-js-v3/commit/a39cb1276808462911f1250083e6d3c48859c24c">a39cb127</a>)</li> <li><strong>client-rds:</strong> Enhanced RDS error handling: Added DBProxyEndpointNotFoundFault, DBShardGroupNotFoundFault, KMSKeyNotAccessibleFault for snapshots/restores/backups, NetworkTypeNotSupported, StorageTypeNotSupportedFault for restores, and granular state validation faults. Changed DBInstanceNotReadyFault to HTTP 400. (<a href="https://github.com/aws/aws-sdk-js-v3/commit/a6d4eb28861f8d0fb3fd4ab400a1b70f6825208b">a6d4eb28</a>)</li> <li><strong>client-datasync:</strong> Added support for FIPS VPC endpoints in FIPS-enabled AWS Regions. (<a href="https://github.com/aws/aws-sdk-js-v3/commit/def03385d2f02876fabd6f00ae2dc851c969d32e">def03385</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-firehose/CHANGELOG.md"><code>@​aws-sdk/client-firehose</code>'s changelog</a>.</em></p> <blockquote> <h1><a href="https://github.com/aws/aws-sdk-js-v3/compare/v3.900.0...v3.901.0">3.901.0</a> (2025-10-01)</h1> <p><strong>Note:</strong> Version bump only for package <code>@​aws-sdk/client-firehose</code></p> <h1><a href="https://github.com/aws/aws-sdk-js-v3/compare/v3.898.0...v3.899.0">3.899.0</a> (2025-09-29)</h1> <p><strong>Note:</strong> Version bump only for package <code>@​aws-sdk/client-firehose</code></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/aws/aws-sdk-js-v3/commit/5befda8667e806c2e95556a55d09b05bc9f0dd3a"><code>5befda8</code></a> Publish v3.901.0</li> <li><a href="https://github.com/aws/aws-sdk-js-v3/commit/0a418cc265b71347d0582d7ec2b937d51f5407ce"><code>0a418cc</code></a> chore: bump '@smithy/*' versions (<a href="https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-firehose/issues/7391">#7391</a>)</li> <li><a href="https://github.com/aws/aws-sdk-js-v3/commit/99ff240110f8e2213f96ab208b44fe7cdf22be4a"><code>99ff240</code></a> Publish v3.899.0</li> <li><a href="https://github.com/aws/aws-sdk-js-v3/commit/ad1514df905b7b661f7f81050f5f2102d31e5cfa"><code>ad1514d</code></a> chore(codegen): sync for separating error schema &amp; ctor (<a href="https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-firehose/issues/7377">#7377</a>)</li> <li>See full diff in <a href="https://github.com/aws/aws-sdk-js-v3/commits/v3.901.0/clients/client-firehose">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@aws-sdk/client-firehose&package-manager=npm_and_yarn&previous-version=3.896.0&new-version=3.901.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Anthony Brown <121869075+anthony-nhs@users.noreply.github.com>
1 parent 3256330 commit 4822cf1

5 files changed

Lines changed: 170 additions & 353 deletions

File tree

.github/scripts/create_changeset_existing_tags.sh

Lines changed: 34 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,22 @@ set -e
33

44
cd ../..
55

6-
AWS_MAX_ATTEMPTS=10
6+
AWS_MAX_ATTEMPTS=20
77
export AWS_MAX_ATTEMPTS
88

9+
CF_LONDON_EXPORTS=$(aws cloudformation list-exports --region eu-west-2 --output json)
10+
911
current_deployed_tag=$(aws cloudformation describe-stacks --stack-name "$STACK_NAME" --query "Stacks[0].Tags[?Key=='version'].Value" --output text)
1012
if [ "${current_deployed_tag}" == "" ]; then
1113
echo "Can not find target tag. Using initial tag in repo"
1214
export current_deployed_tag="v1.0.4-alpha"
1315
fi
1416

15-
ROLE=$(aws cloudformation list-exports --output json | jq -r '.Exports[] | select(.Name == "ci-resources:CloudFormationExecutionRole") | .Value' )
17+
ROLE=$(echo "$CF_LONDON_EXPORTS" | \
18+
jq \
19+
--arg EXPORT_NAME "ci-resources:CloudFormationExecutionRole" \
20+
-r '.Exports[] | select(.Name == $EXPORT_NAME) | .Value')
21+
1622
if [ -z "${ROLE}" ]; then
1723
echo "could not retrieve ROLE from aws cloudformation list-exports"
1824
exit 1
@@ -28,12 +34,17 @@ if [ "${status}" != '"CREATE_COMPLETE"' ] && [ "${status}" != '"UPDATE_ROLLBACK_
2834
fi
2935

3036
# upload file to s3
31-
artifact_bucket=$(aws cloudformation list-exports --output json | jq -r '.Exports[] | select(.Name == "account-resources:ArtifactsBucket") | .Value' | grep -o '[^:]*$')
37+
artifact_bucket_arn=$(echo "$CF_LONDON_EXPORTS" | \
38+
jq \
39+
--arg EXPORT_NAME "account-resources:ArtifactsBucket" \
40+
-r '.Exports[] | select(.Name == $EXPORT_NAME) | .Value')
41+
artifact_bucket=$(echo "$artifact_bucket_arn" | cut -d: -f6 | cut -d/ -f1)
3242
if [ -z "${artifact_bucket}" ]; then
3343
echo "could not retrieve artifact_bucket from aws cloudformation list-exports"
3444
exit 1
3545
fi
3646

47+
3748
target_location=account-resources/$CHANGE_SET_VERSION/current-tag/$STACK_NAME/template.yml
3849
target_s3_location=s3://${artifact_bucket}/${target_location}
3950
target_uri_location=https://${artifact_bucket}.s3.amazonaws.com/${target_location}
@@ -52,6 +63,26 @@ cat > tags.json <<EOF
5263
{"Key": "cfnDriftDetectionGroup", "Value": "${CFN_DRIFT_DETECTION_GROUP}"}
5364
]
5465
EOF
66+
deployment_lock_key="account-resources/${STACK_NAME}/deployment.lock"
67+
68+
TIMEOUT=300 # 5 minutes (in seconds)
69+
INTERVAL=10 # check every 10 seconds
70+
START=$(date +%s)
71+
72+
echo "Checking for existence of $deployment_lock_key ..."
73+
74+
while aws s3 ls "$artifact_bucket/$deployment_lock_key" >/dev/null 2>&1; do
75+
NOW=$(date +%s)
76+
ELAPSED=$((NOW - START))
77+
if [ $ELAPSED -ge $TIMEOUT ]; then
78+
echo "Timeout after 5 minutes waiting for lock — exiting."
79+
exit 1
80+
fi
81+
echo "Lock exists, waiting... ($ELAPSED s elapsed)"
82+
sleep $INTERVAL
83+
done
84+
85+
echo "Lock file does not exist - creating changeset"
5586

5687
aws cloudformation create-change-set \
5788
--stack-name "$STACK_NAME" \

.github/scripts/create_changeset_new_tags.sh

Lines changed: 33 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,15 @@ set -e
33

44
cd ../..
55

6-
AWS_MAX_ATTEMPTS=10
6+
AWS_MAX_ATTEMPTS=20
77
export AWS_MAX_ATTEMPTS
8-
ROLE=$(aws cloudformation list-exports --output json | jq -r '.Exports[] | select(.Name == "ci-resources:CloudFormationExecutionRole") | .Value' )
8+
9+
CF_LONDON_EXPORTS=$(aws cloudformation list-exports --region eu-west-2 --output json)
10+
11+
ROLE=$(echo "$CF_LONDON_EXPORTS" | \
12+
jq \
13+
--arg EXPORT_NAME "ci-resources:CloudFormationExecutionRole" \
14+
-r '.Exports[] | select(.Name == $EXPORT_NAME) | .Value')
915
if [ -z "${ROLE}" ]; then
1016
echo "could not retrieve ROLE from aws cloudformation list-exports"
1117
exit 1
@@ -21,7 +27,11 @@ if [ "${status}" != '"CREATE_COMPLETE"' ] && [ "${status}" != '"UPDATE_ROLLBACK_
2127
fi
2228

2329
# upload file to s3
24-
artifact_bucket=$(aws cloudformation list-exports --output json | jq -r '.Exports[] | select(.Name == "account-resources:ArtifactsBucket") | .Value' | grep -o '[^:]*$')
30+
artifact_bucket_arn=$(echo "$CF_LONDON_EXPORTS" | \
31+
jq \
32+
--arg EXPORT_NAME "account-resources:ArtifactsBucket" \
33+
-r '.Exports[] | select(.Name == $EXPORT_NAME) | .Value')
34+
artifact_bucket=$(echo "$artifact_bucket_arn" | cut -d: -f6 | cut -d/ -f1)
2535
if [ -z "${artifact_bucket}" ]; then
2636
echo "could not retrieve artifact_bucket from aws cloudformation list-exports"
2737
exit 1
@@ -45,6 +55,26 @@ cat > tags.json <<EOF
4555
{"Key": "cfnDriftDetectionGroup", "Value": "${CFN_DRIFT_DETECTION_GROUP}"}
4656
]
4757
EOF
58+
deployment_lock_key="account-resources/${STACK_NAME}/deployment.lock"
59+
60+
TIMEOUT=300 # 5 minutes (in seconds)
61+
INTERVAL=10 # check every 10 seconds
62+
START=$(date +%s)
63+
64+
echo "Checking for existence of $deployment_lock_key ..."
65+
66+
while aws s3 ls "$artifact_bucket/$deployment_lock_key" >/dev/null 2>&1; do
67+
NOW=$(date +%s)
68+
ELAPSED=$((NOW - START))
69+
if [ $ELAPSED -ge $TIMEOUT ]; then
70+
echo "Timeout after 5 minutes waiting for lock — exiting."
71+
exit 1
72+
fi
73+
echo "Lock exists, waiting... ($ELAPSED s elapsed)"
74+
sleep $INTERVAL
75+
done
76+
77+
echo "Lock file does not exist - creating changeset"
4878

4979
aws cloudformation create-change-set \
5080
--stack-name "$STACK_NAME" \

.github/scripts/execute_changeset.sh

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
#!/usr/bin/env bash
22
set -e
3+
AWS_MAX_ATTEMPTS=20
4+
export AWS_MAX_ATTEMPTS
5+
6+
CF_LONDON_EXPORTS=$(aws cloudformation list-exports --region eu-west-2 --output json)
7+
artifact_bucket_arn=$(echo "$CF_LONDON_EXPORTS" | \
8+
jq \
9+
--arg EXPORT_NAME "account-resources:ArtifactsBucket" \
10+
-r '.Exports[] | select(.Name == $EXPORT_NAME) | .Value')
11+
artifact_bucket=$(echo "$artifact_bucket_arn" | cut -d: -f6 | cut -d/ -f1)
12+
if [ -z "${artifact_bucket}" ]; then
13+
echo "could not retrieve artifact_bucket from aws cloudformation list-exports"
14+
exit 1
15+
fi
16+
17+
deployment_lock_key="account-resources/${STACK_NAME}/deployment.lock"
18+
echo "created deployment lock ${deployment_lock_key}" | aws s3 cp - "$artifact_bucket/$deployment_lock_key"
319

420
aws cloudformation execute-change-set \
521
--stack-name "$STACK_NAME" \
@@ -21,6 +37,9 @@ do
2137
fi
2238
done
2339

40+
aws s3 rm "$artifact_bucket/$deployment_lock_key" || true
41+
echo "removed deployment lock ${deployment_lock_key}"
42+
2443
if [ "$STATUS" == "ROLLBACK_IN_PROGRESS " ]; then
2544
echo "Failed to execute change set, rollback in progress..."
2645
echo "$STACKS"
@@ -42,7 +61,7 @@ elif [ "$STATUS" == "UPDATE_ROLLBACK_FAILED" ]; then
4261
echo "$STACKS"
4362
exit 1
4463
elif [ "$STATUS" == "UPDATE_COMPLETE" ]; then
45-
echo "Execute change set comeplete."
64+
echo "Execute change set complete."
4665
exit 0
4766
fi
4867

0 commit comments

Comments
 (0)