Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(release): 2.103.0 #27684

Merged
merged 33 commits into from
Oct 26, 2023
Merged

chore(release): 2.103.0 #27684

merged 33 commits into from
Oct 26, 2023

Conversation

aws-cdk-automation
Copy link
Collaborator

@aws-cdk-automation aws-cdk-automation commented Oct 25, 2023

See CHANGELOG

ndejaco2 and others added 30 commits October 18, 2023 21:58
…uct in the AppSync utils package (#27588)

- This change just adds a link to the awscdk-appsync-utils for the custom resource to perform a manual merge during  a source api stack update.
----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
… RotationSchedule (#27592)

I added a validation for whether `automaticallyAfter` in `RotationSchedule` is not greater than 1000 days. 

We discussed in the following threads.

#27570 (review)

#27570 (review)

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Add ability to grant function access to `CompositePrincipal`.

Closes #27503.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
…eployments (#27292)

## Purpose 🎯 

Extend the `EvaluateCloudFormationTemplate` class to support the `Fn::ImportValue` intrinsic function. This allows for more diverse templates to be evaluated for the purposes of determining eligibility for `--hotswap` deployments

Closes #21320

## Approach 🧠 

Implement `LazyLookupExport` in similar fashion to `LazyListStackResources` to cache required CloudFormation API calls _(preference was to implement using a generator function instead so style is not entirely consistent, is this an issue?)_

Add some basic unit tests for `EvaluateCloudFormationTemplate.evaluateCfnExpression()` is they were absent, then add some tests for `Fn::ImportValue`

## Todo 📝 

- [x] Update doco where appropriate
- [x] Add to hotswap deployment tests
- [x] Look for appropriate integration tests to update

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
[Amazon OpenSearch Service now supports OpenSearch version 2.9](https://aws.amazon.com/about-aws/whats-new/2023/10/amazon-opensearch-service-opensearch-version-2-9/). This PR adds the new engine version.

Closes #27574

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Support of C7i and R7iz EC2-Instance types in aws-ec2.

The [C7i](https://aws.amazon.com/ec2/instance-types/c7i/) and the [R7iz](https://aws.amazon.com/ec2/instance-types/r7iz/) instance types were introduced in September 2023.
Both instance types are confirmed to be supported in [AWS-Cloudformation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html#cfn-ec2-instance-instancetype).

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
…27617)

This PR will add a rule to our `prlint` to reject PRs opened from an author's `main` branch on their fork.
…7621)

In #26498, I injected specific account id and region in integration test snapshot by mistake. This PR replaces them with variables by taking snapshot correctly.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Allows to specify a customer-managed KMS key for encryption.

Example:

```ts
declare const key: kms.Key;
declare const fn: lambda.Function;

const target = new targets.LambdaInvoke(fn, {
    input: ScheduleTargetInput.fromObject({
        "payload": "useful",
    }),
});

const schedule = new Schedule(this, 'Schedule', {
    schedule: ScheduleExpression.rate(Duration.minutes(10)),
    target,
    key,
});
```

Closes #27543.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
… in a pipeline causes duplicate id error (#27602)

Differentiates between sources of the same repository by appending the branch name onto the node id and input/output artifacts. This avoids the duplicate id errors for different branches of the same repository, as well as validating that each source is a unique repository & branch combination.

The only change to the CFN template is the input & output artifacts, but since these are not stateful resources, they can be modified without breaking changes. The artifacts are also updates in tandem, so the pipeline source behavior will stay the same.

This change impacts these `CodePipelineSource`s:
- `s3()` - `objectKey` appended
- `connection()`
- `codeCommit()`

Does not change `ecr()` behavior as there is no notion of folders or branches.
Does not change `github()` behavior as doing so would cause destructive changes of webhooks.

Closes #23916 and #19875.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
This PR would enable closing a pull request automatically if it is opened from `main` branch of their fork.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
adding missing selenium runtime for synthetics package

Closes #27566.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
This updates our docs surrounding integ tests:

- gives the correct location of stable module integ tests
- standardizes code examples
- adds example for using `assertAtPath()`
- warns against using `outputPaths` in `awsApiCall()`
- other small updates

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Uses new `dynamo.TableV2` construct in examples. Uses `aws-cdk-lib/` instead of `@aws-cdk/` paths where applicable.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
…to 2.4.3 (#27647)

Bumps [thollander/actions-comment-pull-request](https://github.com/thollander/actions-comment-pull-request) from 2.4.2 to 2.4.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/thollander/actions-comment-pull-request/releases">thollander/actions-comment-pull-request's releases</a>.</em></p>
<blockquote>
<h2>v2.4.3 : outputs variables</h2>
<h2>What's Changed</h2>
<ul>
<li>chore(deps-dev): bump prettier from 3.0.1 to 3.0.2 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/thollander/actions-comment-pull-request/pull/271">thollander/actions-comment-pull-request#271</a></li>
<li>chore(deps-dev): bump <code>@​tsconfig/node16</code> from 16.1.0 to 16.1.1 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/thollander/actions-comment-pull-request/pull/273">thollander/actions-comment-pull-request#273</a></li>
<li>chore(deps-dev): bump typescript from 5.1.6 to 5.2.2 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/thollander/actions-comment-pull-request/pull/277">thollander/actions-comment-pull-request#277</a></li>
<li>chore(deps-dev): bump prettier from 3.0.2 to 3.0.3 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/thollander/actions-comment-pull-request/pull/279">thollander/actions-comment-pull-request#279</a></li>
<li>chore(deps): bump <code>@​actions/core</code> from 1.10.0 to 1.10.1 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/thollander/actions-comment-pull-request/pull/286">thollander/actions-comment-pull-request#286</a></li>
<li>chore(deps-dev): bump <code>@​vercel/ncc</code> from 0.36.1 to 0.38.0 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/thollander/actions-comment-pull-request/pull/283">thollander/actions-comment-pull-request#283</a></li>
<li>feat: add actions output variables by <a href="https://github.com/thollander"><code>@​thollander</code></a> in <a href="https://redirect.github.com/thollander/actions-comment-pull-request/pull/297">thollander/actions-comment-pull-request#297</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/thollander/actions-comment-pull-request/compare/v2...v2.4.3">https://github.com/thollander/actions-comment-pull-request/compare/v2...v2.4.3</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/thollander/actions-comment-pull-request/commit/1d3973dc4b8e1399c0620d3f2b1aa5e795465308"><code>1d3973d</code></a> chore: fix build and lint</li>
<li><a href="https://github.com/thollander/actions-comment-pull-request/commit/c9581a4c85f1b2c4e12f9e6e3d3e12f244d2b440"><code>c9581a4</code></a> chore: bump to v2.4.3</li>
<li><a href="https://github.com/thollander/actions-comment-pull-request/commit/5c591f7f556ba8ed023fdcb5e50b84dd088c2703"><code>5c591f7</code></a> feat(output): add some action outputs (<a href="https://redirect.github.com/thollander/actions-comment-pull-request/issues/297">#297</a>)</li>
<li><a href="https://github.com/thollander/actions-comment-pull-request/commit/363c6f6eae92cc5c3a66e95ba016fc771bb38943"><code>363c6f6</code></a> chore(deps-dev): bump <code>@​vercel/ncc</code> from 0.36.1 to 0.38.0 (<a href="https://redirect.github.com/thollander/actions-comment-pull-request/issues/283">#283</a>)</li>
<li><a href="https://github.com/thollander/actions-comment-pull-request/commit/f34bce57c53bba8c9aad22748a2c7ea0027f26f0"><code>f34bce5</code></a> chore(deps): bump <code>@​actions/core</code> from 1.10.0 to 1.10.1 (<a href="https://redirect.github.com/thollander/actions-comment-pull-request/issues/286">#286</a>)</li>
<li><a href="https://github.com/thollander/actions-comment-pull-request/commit/a56dba33e68edfb2362e4aadfb98ae419733a630"><code>a56dba3</code></a> chore(deps-dev): bump prettier from 3.0.2 to 3.0.3 (<a href="https://redirect.github.com/thollander/actions-comment-pull-request/issues/279">#279</a>)</li>
<li><a href="https://github.com/thollander/actions-comment-pull-request/commit/b07c7f86be67002023e6cb13f57df3f21cdd3411"><code>b07c7f8</code></a> chore(deps-dev): bump typescript from 5.1.6 to 5.2.2 (<a href="https://redirect.github.com/thollander/actions-comment-pull-request/issues/277">#277</a>)</li>
<li><a href="https://github.com/thollander/actions-comment-pull-request/commit/4c28636d802d03fcc368bc2d984e1023c709e3e9"><code>4c28636</code></a> chore(deps-dev): bump <code>@​tsconfig/node16</code> from 16.1.0 to 16.1.1 (<a href="https://redirect.github.com/thollander/actions-comment-pull-request/issues/273">#273</a>)</li>
<li><a href="https://github.com/thollander/actions-comment-pull-request/commit/c36a63b39458d5492f14e98fc4152345376268fa"><code>c36a63b</code></a> chore(deps-dev): bump prettier from 3.0.1 to 3.0.2 (<a href="https://redirect.github.com/thollander/actions-comment-pull-request/issues/271">#271</a>)</li>
<li>See full diff in <a href="https://github.com/thollander/actions-comment-pull-request/compare/d61db783da9abefc3437960d0cce08552c7c004f...1d3973dc4b8e1399c0620d3f2b1aa5e795465308">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=thollander/actions-comment-pull-request&package-manager=github_actions&previous-version=2.4.2&new-version=2.4.3)](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>
)

Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 39.2.2 to 39.2.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/tj-actions/changed-files/releases">tj-actions/changed-files's releases</a>.</em></p>
<blockquote>
<h2>v39.2.3</h2>
<h2>What's Changed</h2>
<ul>
<li>Upgraded to v39.2.2 by <a href="https://github.com/tj-actions-bot"><code>@​tj-actions-bot</code></a> in <a href="https://redirect.github.com/tj-actions/changed-files/pull/1639">tj-actions/changed-files#1639</a></li>
<li>chore(deps): update dependency <code>@​types/node</code> to v20.8.5 by <a href="https://github.com/renovate"><code>@​renovate</code></a> in <a href="https://redirect.github.com/tj-actions/changed-files/pull/1640">tj-actions/changed-files#1640</a></li>
<li>chore(deps): update dependency <code>@​types/node</code> to v20.8.6 by <a href="https://github.com/renovate"><code>@​renovate</code></a> in <a href="https://redirect.github.com/tj-actions/changed-files/pull/1642">tj-actions/changed-files#1642</a></li>
<li>fix(deps): update dependency yaml to v2.3.3 by <a href="https://github.com/renovate"><code>@​renovate</code></a> in <a href="https://redirect.github.com/tj-actions/changed-files/pull/1643">tj-actions/changed-files#1643</a></li>
<li>chore(deps): lock file maintenance by <a href="https://github.com/renovate"><code>@​renovate</code></a> in <a href="https://redirect.github.com/tj-actions/changed-files/pull/1644">tj-actions/changed-files#1644</a></li>
<li>chore(deps): lock file maintenance by <a href="https://github.com/renovate"><code>@​renovate</code></a> in <a href="https://redirect.github.com/tj-actions/changed-files/pull/1645">tj-actions/changed-files#1645</a></li>
<li>chore(deps): update typescript-eslint monorepo to v6.8.0 by <a href="https://github.com/renovate"><code>@​renovate</code></a> in <a href="https://redirect.github.com/tj-actions/changed-files/pull/1646">tj-actions/changed-files#1646</a></li>
<li>fix: bug returning files with matched patterns by <a href="https://github.com/jackton1"><code>@​jackton1</code></a> in <a href="https://redirect.github.com/tj-actions/changed-files/pull/1648">tj-actions/changed-files#1648</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/tj-actions/changed-files/compare/v39...v39.2.3">https://github.com/tj-actions/changed-files/compare/v39...v39.2.3</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/tj-actions/changed-files/blob/main/HISTORY.md">tj-actions/changed-files's changelog</a>.</em></p>
<blockquote>
<h1>Changelog</h1>
<h1><a href="https://github.com/tj-actions/changed-files/compare/v39.2.2...v39.2.3">39.2.3</a> - (2023-10-17)</h1>
<h2>🐛 Bug Fixes</h2>
<ul>
<li>Bug returning files with matched patterns (<a href="https://redirect.github.com/tj-actions/changed-files/issues/1648">#1648</a>) (<a href="https://github.com/tj-actions/changed-files/commit/95690f9ece77c1740f4a55b7f1de9023ed6b1f87">95690f9</a>)  - (Tonye Jack)</li>
<li><strong>deps:</strong> Update dependency yaml to v2.3.3 (<a href="https://github.com/tj-actions/changed-files/commit/44225688bb4d3bee3a2c2b89b075da711f6439ca">4422568</a>)  - (renovate[bot])</li>
</ul>
<h2>➕ Add</h2>
<ul>
<li>Added missing changes and modified dist assets.
(<a href="https://github.com/tj-actions/changed-files/commit/2a10bef1b42044172f2e64d40beeb8fbad792438">2a10bef</a>)  - (GitHub Action)</li>
<li>Added missing changes and modified dist assets.
(<a href="https://github.com/tj-actions/changed-files/commit/a82ffc67b399a2313a161e829a13cfe4136efd12">a82ffc6</a>)  - (GitHub Action)</li>
</ul>
<h2>⚙️ Miscellaneous Tasks</h2>
<ul>
<li><strong>deps:</strong> Update typescript-eslint monorepo to v6.8.0 (<a href="https://github.com/tj-actions/changed-files/commit/97266423dbbb3fef38257a9049a722278bf9103c">9726642</a>)  - (renovate[bot])</li>
<li><strong>deps:</strong> Lock file maintenance (<a href="https://github.com/tj-actions/changed-files/commit/af4b21011169361c41b203dfabf25f57ff17bc59">af4b210</a>)  - (renovate[bot])</li>
<li><strong>deps:</strong> Lock file maintenance (<a href="https://github.com/tj-actions/changed-files/commit/5c45808ea0d7a3f029ef6465447cd0f23cae87ed">5c45808</a>)  - (renovate[bot])</li>
<li><strong>deps:</strong> Update dependency <code>@​types/node</code> to v20.8.6 (<a href="https://github.com/tj-actions/changed-files/commit/f144a9e6da20c676d410b6485f4dbb6b2390f3dd">f144a9e</a>)  - (renovate[bot])</li>
<li><strong>deps:</strong> Update dependency <code>@​types/node</code> to v20.8.5 (<a href="https://github.com/tj-actions/changed-files/commit/d08f64adf6f0e48966fc28a25a79e772b7d3804e">d08f64a</a>)  - (renovate[bot])</li>
</ul>
<h2>⬆️ Upgrades</h2>
<ul>
<li>Upgraded to v39.2.2 (<a href="https://redirect.github.com/tj-actions/changed-files/issues/1639">#1639</a>)</li>
</ul>
<p>Co-authored-by: jackton1 <a href="mailto:jackton1@users.noreply.github.com">jackton1@users.noreply.github.com</a> (<a href="https://github.com/tj-actions/changed-files/commit/2d0db8be9ec241024f06a541c605733d4b325794">2d0db8b</a>)  - (tj-actions[bot])</p>
<h1><a href="https://github.com/tj-actions/changed-files/compare/v39.2.1...v39.2.2">39.2.2</a> - (2023-10-11)</h1>
<h2>🐛 Bug Fixes</h2>
<ul>
<li><strong>deps:</strong> Update dependency <code>@​actions/github</code> to v6 (<a href="https://redirect.github.com/tj-actions/changed-files/issues/1636">#1636</a>) (<a href="https://github.com/tj-actions/changed-files/commit/1d9d8f4a769e0e15ef6d9657ceb4c64b4f79444a">1d9d8f4</a>)  - (renovate[bot])</li>
</ul>
<h2>➕ Add</h2>
<ul>
<li>Added missing changes and modified dist assets.
(<a href="https://github.com/tj-actions/changed-files/commit/408093d9ff9c134c33b974e0722ce06b9d6e8263">408093d</a>)  - (GitHub Action)</li>
</ul>
<h2>🔄 Update</h2>
<ul>
<li>Update README.md (<a href="https://github.com/tj-actions/changed-files/commit/49e754c81d45331f68e6691ca91590e12f0bf105">49e754c</a>)  - (Tonye Jack)</li>
<li>Updated README.md (<a href="https://redirect.github.com/tj-actions/changed-files/issues/1632">#1632</a>)</li>
</ul>
<p>Co-authored-by: jackton1 <a href="mailto:jackton1@users.noreply.github.com">jackton1@users.noreply.github.com</a> (<a href="https://github.com/tj-actions/changed-files/commit/57421690e0ad0aaa68f8a7de7cdcec0ac85f4471">5742169</a>)  - (tj-actions[bot])</p>
<ul>
<li>Update README.md (<a href="https://github.com/tj-actions/changed-files/commit/1c14cc7ff31c36290d78b6beedcbfdd8eb6c1ad6">1c14cc7</a>)  - (Tonye Jack)</li>
<li>Update README.md (<a href="https://github.com/tj-actions/changed-files/commit/6cd5b661017dec80808b3d6fe58017f11898979c">6cd5b66</a>)  - (Tonye Jack)</li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/tj-actions/changed-files/commit/95690f9ece77c1740f4a55b7f1de9023ed6b1f87"><code>95690f9</code></a> fix: bug returning files with matched patterns (<a href="https://redirect.github.com/tj-actions/changed-files/issues/1648">#1648</a>)</li>
<li><a href="https://github.com/tj-actions/changed-files/commit/97266423dbbb3fef38257a9049a722278bf9103c"><code>9726642</code></a> chore(deps): update typescript-eslint monorepo to v6.8.0</li>
<li><a href="https://github.com/tj-actions/changed-files/commit/af4b21011169361c41b203dfabf25f57ff17bc59"><code>af4b210</code></a> chore(deps): lock file maintenance</li>
<li><a href="https://github.com/tj-actions/changed-files/commit/2a10bef1b42044172f2e64d40beeb8fbad792438"><code>2a10bef</code></a> Added missing changes and modified dist assets.</li>
<li><a href="https://github.com/tj-actions/changed-files/commit/5c45808ea0d7a3f029ef6465447cd0f23cae87ed"><code>5c45808</code></a> chore(deps): lock file maintenance</li>
<li><a href="https://github.com/tj-actions/changed-files/commit/a82ffc67b399a2313a161e829a13cfe4136efd12"><code>a82ffc6</code></a> Added missing changes and modified dist assets.</li>
<li><a href="https://github.com/tj-actions/changed-files/commit/44225688bb4d3bee3a2c2b89b075da711f6439ca"><code>4422568</code></a> fix(deps): update dependency yaml to v2.3.3</li>
<li><a href="https://github.com/tj-actions/changed-files/commit/f144a9e6da20c676d410b6485f4dbb6b2390f3dd"><code>f144a9e</code></a> chore(deps): update dependency <code>@​types/node</code> to v20.8.6</li>
<li><a href="https://github.com/tj-actions/changed-files/commit/d08f64adf6f0e48966fc28a25a79e772b7d3804e"><code>d08f64a</code></a> chore(deps): update dependency <code>@​types/node</code> to v20.8.5</li>
<li><a href="https://github.com/tj-actions/changed-files/commit/2d0db8be9ec241024f06a541c605733d4b325794"><code>2d0db8b</code></a> Upgraded to v39.2.2 (<a href="https://redirect.github.com/tj-actions/changed-files/issues/1639">#1639</a>)</li>
<li>See full diff in <a href="https://github.com/tj-actions/changed-files/compare/408093d9ff9c134c33b974e0722ce06b9d6e8263...95690f9ece77c1740f4a55b7f1de9023ed6b1f87">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=tj-actions/changed-files&package-manager=github_actions&previous-version=39.2.2&new-version=39.2.3)](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>
…multiple instances in the same stack (#27468)

Closes #16891 

If a user creates more than one EC2 instance in the same stack and defines an InitConfig for each instance using `ec2.InitFile.fromAsset()`, the user will get an error if they pass in the same `targetFilePath` or `targetDirectory`. This bug is due to [how the asset is uploaded to S3](https://github.com/aws/aws-cdk/blob/main/packages/aws-cdk-lib/aws-ec2/lib/cfn-init-elements.ts#L427).

This PR fixes this issue by adding a hash to the `targetFileName` before being uploaded as an s3 asset.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
`fs-extra` is sometimes not included in the `npm pack` tarball, depending on the version of NPM.

The reason is that it occurs in both `dependencies` and `devDependencies`, which is not a useful dependency specification.

This is breaking jsii builds, depending on the NPM version used.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Facts are only being returned from the regions in a constant list.
This PR returns facts for all Regions in `AWS_REGIONS` + `this.database`.

Closes #27260.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
…Sync.function (#27559)

Add AppSync:Api_Key as hots wappable and fix the bug where AppSync.function doesn't allow setting version and runtime

1. Allow `expires` property of resource `AWS::AppSync::Api_Key` to be hot-swappable
2. Read the Api_Key_id from the physical ARN if not available from resource properties. (It's optional in CFN but mandatory in SDK)
3. UpdateFunction doesn't [allow](https://docs.aws.amazon.com/appsync/latest/APIReference/API_UpdateFunction.html) setting both `functionVersion` and `runtime` in the SDK (allowed in CFN). Update to remove one based on if `code` is provided or `mappingTemplates`
4. Fix a bug where the file returned from S3 was not being decoded from buffer.
5. Increase the timeout and number of retries for concurrent modification of AppSync.Functions.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
The I4g instance types were [introduced](https://aws.amazon.com/about-aws/whats-new/2023/05/amazon-ec2-i4g-storage-optimized-instances/?nc1=h_ls) in May 2023.
The instance types are supported in [CloudFormation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html#cfn-ec2-instance-instancetype).

Closes #27631

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
…n CallAwsService (#27635)

This PR adds the following validations in CallAwsService.

- `action` must be camelCase.
- parameter names in `parameters` must be PascalCase.

See the doc: https://docs.aws.amazon.com/step-functions/latest/dg/supported-services-awssdk.html

> The API action will always be camel case, and parameter names will be Pascal case. For example, you could use Step Functions API action startSyncExecution and specify its parameter as StateMachineArn.

CloudFormation fails with a following error if there are not these validations.

```
Deployment failed: Error: The stack named aws-stepfunctions-tasks-call-aws-service-logs-integ failed to deploy: UPDATE_ROLLBACK_COMPLETE: Resource handler returned message: "Invalid State Machine Definition: 'SCHEMA_VALIDATION_FAILED: The resource provided arn:aws:states:::aws-sdk:cloudwatchlogs:CreateLogStream is not recognized. The value is not a valid resource ARN, or the resource is not available in this region. at /States/SendTaskSuccess/Resource' (Service: AWSStepFunctions; Status Code: 400; Error Code: InvalidDefinition; Request ID: xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx; Proxy: null)" (RequestToken: xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx, HandlerErrorCode: InvalidRequest)
```

I think it is a good thing to make these errors in the synth phase, since there were actually cases of confusion as follows.

#27623 (comment)

I also thought to not validate but translate to camel (or pascal) cases. However I thought it would allow input that violates the explanation defined in the API documentation, so I decided not to.

On the other hands, the `action` is also used for IAM actions so the IAM actions will be to camel cases (like `logs:createLogStream`). But I allowed it because IAM actions are case insensitive. If a translation is a better way to do it rather than the validation, I will consider that as well.

https://github.com/aws/aws-cdk/blob/09c809b52fd2eeb27ac5bbc91d425ecf54e31bf9/packages/aws-cdk-lib/aws-stepfunctions-tasks/lib/aws-sdk/call-aws-service.ts#L92-L94

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
…on in role policy (#27623)

This PR fixes the bug that a wrong action in role policy is generated when `cloudwatchlogs` service is specified.

A correct action is `logs:xxx`, but current behavior is to `cloudwatchlogs:xxx` by using the `service` property.

Closes #27573.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Closes #27656

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
AWS Service Spec packages to latest versions.
To work with new features that are not released on CFN yet, we need the ability to provide local schema overrides. This changes adds support for this, by importing additional schema files into the model database before codegen.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
* This change just updates the README to remove an unnecessary use of lazy and show the second api being associated with AUTO_MERGE mode which had been removed by mistake.
----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
@aws-cdk-automation aws-cdk-automation added auto-approve pr/no-squash This PR should be merged instead of squash-merging it labels Oct 25, 2023
@github-actions github-actions bot added the p2 label Oct 25, 2023
@aws-cdk-automation aws-cdk-automation requested a review from a team October 25, 2023 23:25
@vinayak-kukreja vinayak-kukreja added the pr/do-not-merge This PR should not be merged at this time. label Oct 25, 2023
@aws-cdk-automation
Copy link
Collaborator Author

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildv2Project1C6BFA3F-wQm2hXv2jqQv
  • Commit ID: b70b893
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify
Copy link
Contributor

mergify bot commented Oct 26, 2023

Thank you for contributing! Your pull request will be automatically updated and merged without squashing (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify mergify bot merged commit d0d7547 into v2-release Oct 26, 2023
11 of 12 checks passed
@mergify mergify bot deleted the bump/2.103.0 branch October 26, 2023 00:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-approve p2 pr/no-squash This PR should be merged instead of squash-merging it
Projects
None yet
Development

Successfully merging this pull request may close these issues.