Skip to content

Commit

Permalink
Merge branch 'main' into yuanhaoz/ec2_alarm
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Mar 14, 2024
2 parents 97238d5 + bc9d0b4 commit cb62ec8
Show file tree
Hide file tree
Showing 360 changed files with 93,384 additions and 2,887 deletions.
File renamed without changes.
58 changes: 58 additions & 0 deletions .github/workflows/repo-metrics-weekly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: Weekly repo metrics
on:
workflow_dispatch:
schedule:
- cron: '0 9 * * MON'

permissions:
issues: write
pull-requests: read

jobs:
build:
# this workflow will always fail in forks; bail if this isn't running in the upstream
if: github.repository == 'aws/aws-cdk'
name: metrics
runs-on: ubuntu-latest

steps:
- name: Get dates for last week
shell: bash
run: |
# Calculate the date of the previous Monday
PREVIOUS_MONDAY=$(date -d "7 days ago" "+%Y-%m-%d")
# Calculate the date of the current Sunday
CURRENT_SUNDAY=$(date -d "1 day ago" "+%Y-%m-%d")
# Set an environment variable with the date range
echo "$PREVIOUS_MONDAY..$CURRENT_SUNDAY"
echo "last_week=$PREVIOUS_MONDAY..$CURRENT_SUNDAY" >> "$GITHUB_ENV"
- name: Report on issues
uses: github/issue-metrics@v2
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SEARCH_QUERY: 'repo:aws/aws-cdk is:issue created:${{ env.last_week }} -reason:"not planned"'

- name: Create report for issues
uses: peter-evans/create-issue-from-file@v5
with:
title: Weekly issue metrics report
token: ${{ secrets.GITHUB_TOKEN }}
content-filepath: ./issue_metrics.md
assignees: paulhcsun

- name: Report on PRs
uses: github/issue-metrics@v2
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SEARCH_QUERY: 'repo:aws/aws-cdk is:pr created:${{ env.last_week }} -is:draft'

- name: Create report for PRs
uses: peter-evans/create-issue-from-file@v5
with:
title: Weekly PR metrics report
token: ${{ secrets.GITHUB_TOKEN }}
content-filepath: ./issue_metrics.md
assignees: paulhcsun
2 changes: 1 addition & 1 deletion .github/workflows/request-cli-integ-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
persist-credentials: false
- name: Find changed cli files
id: changed-cli-files
uses: tj-actions/changed-files@800a2825992141ddde1a8bca8ad394cec34d3188
uses: tj-actions/changed-files@aa08304bd477b800d468db44fe10f6c61f7f7b11
with:
base_sha: ${{ github.event.pull_request.base.sha }}
files_yaml: |
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.v2.alpha.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

All notable changes to this project will be documented in this file. See [standard-version](https:/conventional-changelog/standard-version) for commit guidelines.

## [2.132.1-alpha.0](https:/aws/aws-cdk/compare/v2.132.0-alpha.0...v2.132.1-alpha.0) (2024-03-12)

## [2.132.0-alpha.0](https:/aws/aws-cdk/compare/v2.131.0-alpha.0...v2.132.0-alpha.0) (2024-03-08)


### Bug Fixes

* **glue:** `PythonRayExecutableProps` has innaccurate properties ([#28625](https:/aws/aws-cdk/issues/28625)) ([7994733](https:/aws/aws-cdk/commit/79947337d59539a03a2d7d2849043aa9405268d8)), closes [#28570](https:/aws/aws-cdk/issues/28570)

## [2.131.0-alpha.0](https:/aws/aws-cdk/compare/v2.130.0-alpha.0...v2.131.0-alpha.0) (2024-03-01)

## [2.130.0-alpha.0](https:/aws/aws-cdk/compare/v2.129.0-alpha.0...v2.130.0-alpha.0) (2024-02-23)
Expand Down
42 changes: 42 additions & 0 deletions CHANGELOG.v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,48 @@

All notable changes to this project will be documented in this file. See [standard-version](https:/conventional-changelog/standard-version) for commit guidelines.

## [2.132.1](https:/aws/aws-cdk/compare/v2.132.0...v2.132.1) (2024-03-12)


### Bug Fixes

* **cli:** `cdk ls` returns stack id instead of stack display name ([#29447](https:/aws/aws-cdk/issues/29447)) ([effad1c](https:/aws/aws-cdk/commit/effad1cf8a854789070e963691b30fadf1597afb)), closes [#29420](https:/aws/aws-cdk/issues/29420)

## [2.132.0](https:/aws/aws-cdk/compare/v2.131.0...v2.132.0) (2024-03-08)


### Features

* **autoscaling:** add support for InstanceRefresh suspended process ([#29113](https:/aws/aws-cdk/issues/29113)) ([f5e7717](https:/aws/aws-cdk/commit/f5e7717c6bbde805fc5565e266776b495d45490a))
* **autoscaling:** support custom termination policy with lambda ([#29340](https:/aws/aws-cdk/issues/29340)) ([2ebb409](https:/aws/aws-cdk/commit/2ebb409d09bfd1e465dbe29e4e4abb1cb75f197a)), closes [#19750](https:/aws/aws-cdk/issues/19750)
* **codepipeline:** `executionMode` property for Pipeline ([#29148](https:/aws/aws-cdk/issues/29148)) ([3bb2944](https:/aws/aws-cdk/commit/3bb29440acc819acb24c9597a407b85678940a5e)), closes [#29147](https:/aws/aws-cdk/issues/29147)
* **ec2:** add NAT instance V2 support using AL2023 ([#29013](https:/aws/aws-cdk/issues/29013)) ([7fa6bbf](https:/aws/aws-cdk/commit/7fa6bbfa141eca76d6d2f7bc68bd29a71f6ef872))
* **elasticloadbalancingv2:** health check interval greater than timeout ([#29075](https:/aws/aws-cdk/issues/29075)) ([576d034](https:/aws/aws-cdk/commit/576d034bd1645d44bf574670f2f1b5d865a25f66)), closes [#29062](https:/aws/aws-cdk/issues/29062)
* **rds:** add ability to specify PreferredMaintenanceWindow to RDS cluster database instances ([#29033](https:/aws/aws-cdk/issues/29033)) ([9c82bca](https:/aws/aws-cdk/commit/9c82bcaf90a1dc2df324a72ea622c7eec729d0f5)), closes [#16954](https:/aws/aws-cdk/issues/16954)
* **rds:** enable data api for aurora cluster ([#29338](https:/aws/aws-cdk/issues/29338)) ([82690f7](https:/aws/aws-cdk/commit/82690f7ca7416da39b0a354bc4e8cc6a5a941a5f)), closes [#28574](https:/aws/aws-cdk/issues/28574)
* **stepfunctions-tasks:** start build batch integration ([#29296](https:/aws/aws-cdk/issues/29296)) ([4f2b757](https:/aws/aws-cdk/commit/4f2b75772c8c8075665627d79f8874bda5bd0dd5)), closes [#29119](https:/aws/aws-cdk/issues/29119)
* list stack dependencies ([#28995](https:/aws/aws-cdk/issues/28995)) ([a7fac9d](https:/aws/aws-cdk/commit/a7fac9d13d649b9989c01edc042ba11dcc854562))
* update L1 CloudFormation resource definitions ([#29349](https:/aws/aws-cdk/issues/29349)) ([8b01f45](https:/aws/aws-cdk/commit/8b01f45f751df558683934ab69e7836b3900a2cb))


### Bug Fixes

* **batch:** windows does not support readonlyRootFilesystem ([#29145](https:/aws/aws-cdk/issues/29145)) ([7205143](https:/aws/aws-cdk/commit/7205143d563449ab211406da04d99bbbcdc7c8cc)), closes [#29140](https:/aws/aws-cdk/issues/29140)
* **changelog:** changelog for v2.131.0 has some errors ([#29352](https:/aws/aws-cdk/issues/29352)) ([1b56897](https:/aws/aws-cdk/commit/1b56897ccbd92ef346526375c0903481f92b86c0))
* **cli:** prevent changeset diff for non-deployed stacks ([#29394](https:/aws/aws-cdk/issues/29394)) ([d33caff](https:/aws/aws-cdk/commit/d33cafff6ed72a0e9b4dd0f282b3f1191c4d62c2)), closes [#29265](https:/aws/aws-cdk/issues/29265)
* **cloudwatch:** allow up to 30 dimensions for metric ([#29341](https:/aws/aws-cdk/issues/29341)) ([ebe2adf](https:/aws/aws-cdk/commit/ebe2adff61c5cefcd4576bbc22c3b5d27b390d92)), closes [#29322](https:/aws/aws-cdk/issues/29322)
* **custom-resources:** correctly convert values to Date type ([#28398](https:/aws/aws-cdk/issues/28398)) ([38bdb92](https:/aws/aws-cdk/commit/38bdb921caab73a063304ec26f72402cc8ccc79b)), closes [/github.com/aws/aws-cdk/blob/1a9c30e55e58203bd0a61de82711cf10f1e04851/packages/aws-cdk-lib/custom-resources/lib/helpers-internal/sdk-v3-metadata.json#L174](https:/aws/aws/aws-cdk/blob/1a9c30e55e58203bd0a61de82711cf10f1e04851/packages/aws-cdk-lib/custom-resources/lib/helpers-internal/sdk-v3-metadata.json/issues/L174) [#27962](https:/aws/aws-cdk/issues/27962)
* **custom-resources:** log statement exposes information prohibited by security guideline ([#29406](https:/aws/aws-cdk/issues/29406)) ([11621e7](https:/aws/aws-cdk/commit/11621e78c8f8188fcdd528d01cd2aa8bd97db58f))
* **ecs-patterns:** resolve not being able to create ECS service in `integ.alb-ecs-service-command-entry-point` ([#29333](https:/aws/aws-cdk/issues/29333)) ([6a69d5b](https:/aws/aws-cdk/commit/6a69d5bf0768b61b488bcf7f62493f27cae278cc)), closes [/github.com/aws/aws-cdk/pull/29186#issuecomment-1959231406](https:/aws/aws/aws-cdk/pull/29186/issues/issuecomment-1959231406)
* **events_targets:** installing latest aws sdk fails in cn partition ([#29374](https:/aws/aws-cdk/issues/29374)) ([f0383d6](https:/aws/aws-cdk/commit/f0383d65c7cc8017c55ec9c9262d4a863bb63730))
* **events-targets:** ecs:TagResource permission ([#28898](https:/aws/aws-cdk/issues/28898)) ([4af0dfc](https:/aws/aws-cdk/commit/4af0dfcb0ecf7719d2ca15c7f971fa65ce8953cd)), closes [#28854](https:/aws/aws-cdk/issues/28854)
* **lambda-nodejs:** support bundling aws-sdk as part of the bundled code asset ([#29207](https:/aws/aws-cdk/issues/29207)) ([2378635](https:/aws/aws-cdk/commit/2378635ae278eb4c2f05ef1302c8737009022dc8)), closes [#25492](https:/aws/aws-cdk/issues/25492) [#25492](https:/aws/aws-cdk/issues/25492)
* **rds:** `DatabaseCluster.instanceEndpoints` doesn't include writer endpoint ([#29337](https:/aws/aws-cdk/issues/29337)) ([ca59616](https:/aws/aws-cdk/commit/ca596161e931d456e497bff762a19dca712d99f4)), closes [#29279](https:/aws/aws-cdk/issues/29279)
* **rds:** incorrect error message for rds proxies ([#29404](https:/aws/aws-cdk/issues/29404)) ([2dbb381](https:/aws/aws-cdk/commit/2dbb38174c7d5d74e2b78e227f29699f9dab1dca)), closes [#29402](https:/aws/aws-cdk/issues/29402)
* **spec2cdk:** use modern type when building tag type ([#29389](https:/aws/aws-cdk/issues/29389)) ([3fb0254](https:/aws/aws-cdk/commit/3fb0254552c73e3467aeaee107423364206bca4e))
* **sqs:** `redrivePermission` is set to `byQueue` no matter what value is specified ([#29130](https:/aws/aws-cdk/issues/29130)) ([aa8484a](https:/aws/aws-cdk/commit/aa8484a154baea87f223c4b22135f3a845b836b3)), closes [#29129](https:/aws/aws-cdk/issues/29129) [#29129](https:/aws/aws-cdk/issues/29129)
* **stepfunctions:** maxConcurrency does not support JsonPath ([#29330](https:/aws/aws-cdk/issues/29330)) ([b19f822](https:/aws/aws-cdk/commit/b19f8221e2f71fa0159c77d67a183f3103f440b3)), closes [#20835](https:/aws/aws-cdk/issues/20835) [#20279](https:/aws/aws-cdk/issues/20279)

## [2.131.0](https:/aws/aws-cdk/compare/v2.130.0...v2.131.0) (2024-03-01)


Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This patch brings the [fix](https:/aws/aws-cdk/issues/29420) into the regression suite.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Skipping the test to fix issue https:/aws/aws-cdk/issues/29420.
# cli-integ tests failing for the old tests with the new cli changes for list stacks.

cdk ls --show-dependencies --json
Original file line number Diff line number Diff line change
Expand Up @@ -886,10 +886,10 @@ integTest('cdk ls --show-dependencies --json', withDefaultFixture(async (fixture
id: 'list-stacks',
dependencies: [
{
id: 'liststacksDependentStack',
id: 'list-stacks/DependentStack',
dependencies: [
{
id: 'liststacksDependentStackInnerDependentStack',
id: 'list-stacks/DependentStack/InnerDependentStack',
dependencies: [],
},
],
Expand All @@ -900,11 +900,11 @@ integTest('cdk ls --show-dependencies --json', withDefaultFixture(async (fixture
id: 'list-multiple-dependent-stacks',
dependencies: [
{
id: 'listmultipledependentstacksDependentStack1',
id: 'list-multiple-dependent-stacks/DependentStack1',
dependencies: [],
},
{
id: 'listmultipledependentstacksDependentStack2',
id: 'list-multiple-dependent-stacks/DependentStack2',
dependencies: [],
},
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@ def handler(event, context):
print('This is my dummy validator')
`;

const app = new App();
const app = new App({
postCliContext: {
'@aws-cdk/aws-codepipeline:defaultPipelineTypeToV2': false,
},
});

const stack = new Stack(app, 'aws-appconfig-configuration');

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit cb62ec8

Please sign in to comment.