Skip to content

Commit f63ec29

Browse files
authored
2 parents 393e5c0 + 4766663 commit f63ec29

File tree

6 files changed

+60
-24
lines changed

6 files changed

+60
-24
lines changed

CHANGELOG.v2.alpha.md

+13
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@
22

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

5+
## [2.175.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.174.1-alpha.0...v2.175.0-alpha.0) (2025-01-09)
6+
7+
8+
### Features
9+
10+
* **s3objectlambda:** open s3 access point arn ([#32661](https://github.com/aws/aws-cdk/issues/32661)) ([0486b9c](https://github.com/aws/aws-cdk/commit/0486b9c5e2b4286499a9d3f87a0db7c95741fb6b)), closes [#31950](https://github.com/aws/aws-cdk/issues/31950)
11+
12+
13+
### Bug Fixes
14+
15+
* **apprunner:** the Service class does not implement IService ([#32771](https://github.com/aws/aws-cdk/issues/32771)) ([3d56efa](https://github.com/aws/aws-cdk/commit/3d56efa20ef92761ed22f12e4f651856b6889be3)), closes [#32745](https://github.com/aws/aws-cdk/issues/32745)
16+
* **integ-runner:** `ENOENT` no such file or directory 'recommended-feature-flags.json' ([#32750](https://github.com/aws/aws-cdk/issues/32750)) ([f809b94](https://github.com/aws/aws-cdk/commit/f809b94d9952b8203221e73e177d2615c21248a8))
17+
518
## [2.174.1-alpha.0](https://github.com/aws/aws-cdk/compare/v2.174.0-alpha.0...v2.174.1-alpha.0) (2025-01-07)
619

720
## [2.174.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.173.4-alpha.0...v2.174.0-alpha.0) (2025-01-04)

CHANGELOG.v2.md

+21
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,27 @@
22

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

5+
## [2.175.0](https://github.com/aws/aws-cdk/compare/v2.174.1...v2.175.0) (2025-01-09)
6+
7+
8+
### Features
9+
10+
* **ecs:** enable fault injection flag ([#32598](https://github.com/aws/aws-cdk/issues/32598)) ([ed366ce](https://github.com/aws/aws-cdk/commit/ed366ce812a94066de04e9862d6cbd1083bf5d9c))
11+
* **ecs:** warning when creating a service with the default minHealthyPercent ([#31738](https://github.com/aws/aws-cdk/issues/31738)) ([3606deb](https://github.com/aws/aws-cdk/commit/3606deb5b519365d846e6e66406c835889827055)), closes [#31705](https://github.com/aws/aws-cdk/issues/31705)
12+
* update L1 CloudFormation resource definitions ([#32768](https://github.com/aws/aws-cdk/issues/32768)) ([107eed3](https://github.com/aws/aws-cdk/commit/107eed3b50e86246da03d6b59197452e2af0bfaf))
13+
* **cli:** warn of non-existent stacks in `cdk destroy` ([#32636](https://github.com/aws/aws-cdk/issues/32636)) ([c199378](https://github.com/aws/aws-cdk/commit/c199378667cb63ffe8636dda6b6316dcc6eb47e9)), closes [#32545](https://github.com/aws/aws-cdk/issues/32545) [#27179](https://github.com/aws/aws-cdk/issues/27179) [40aws-cdk-testing/cli-integ/tests/cli-integ-tests/cli.integtest.ts#L190](https://github.com/40aws-cdk-testing/cli-integ/tests/cli-integ-tests/cli.integtest.ts/issues/L190) [aws-cdk-testing/cli-integ/tests/cli-integ-tests/cli.integtest.ts#L286-L291](https://github.com/aws-cdk-testing/cli-integ/tests/cli-integ-tests/cli.integtest.ts/issues/L286-L291)
14+
* **eks:** update nodegroup gpu check ([#32715](https://github.com/aws/aws-cdk/issues/32715)) ([693afea](https://github.com/aws/aws-cdk/commit/693afea86310fd444d237b9f70204fbf4bb5a68d)), closes [#31347](https://github.com/aws/aws-cdk/issues/31347)
15+
* update L1 CloudFormation resource definitions ([#32755](https://github.com/aws/aws-cdk/issues/32755)) ([8f97112](https://github.com/aws/aws-cdk/commit/8f97112c89c6b39e299b0cd437336bab11cfdaf8))
16+
* **kms:** add sign and verify related grant methods ([#32681](https://github.com/aws/aws-cdk/issues/32681)) ([86d2853](https://github.com/aws/aws-cdk/commit/86d2853a9a919669694a2448805a092839a7f4db)), closes [#23185](https://github.com/aws/aws-cdk/issues/23185)
17+
18+
19+
### Bug Fixes
20+
21+
* **cli:** cannot set environment variable `CI=false` ([#32749](https://github.com/aws/aws-cdk/issues/32749)) ([26b361d](https://github.com/aws/aws-cdk/commit/26b361de357a3b83c59dc4931d4797328d220534))
22+
* **cli:** requiresRefresh function does not respect null ([#32666](https://github.com/aws/aws-cdk/issues/32666)) ([2abc23c](https://github.com/aws/aws-cdk/commit/2abc23c4cfdf27e8623fea3d3fbb71ad7e25dbbe)), closes [#32653](https://github.com/aws/aws-cdk/issues/32653) [/github.com/smithy-lang/smithy-typescript/blob/main/packages/property-provider/src/memoize.ts#L27](https://github.com/aws//github.com/smithy-lang/smithy-typescript/blob/main/packages/property-provider/src/memoize.ts/issues/L27)
23+
* **cloudwatch:** render region and accountId when directly set on metrics ([#32325](https://github.com/aws/aws-cdk/issues/32325)) ([c393481](https://github.com/aws/aws-cdk/commit/c3934817ea15bb3187f67112a1d56c13aa555524)), closes [#28731](https://github.com/aws/aws-cdk/issues/28731)
24+
* **ecs:** outdated linux commands for `canContainersAccessInstanceRole=false` and also deprecate property ([#32763](https://github.com/aws/aws-cdk/issues/32763)) ([bbdd42c](https://github.com/aws/aws-cdk/commit/bbdd42c8f45916d5c6945f3429916f6199d2ec66)), closes [#28518](https://github.com/aws/aws-cdk/issues/28518)
25+
526
## [2.174.1](https://github.com/aws/aws-cdk/compare/v2.174.0...v2.174.1) (2025-01-07)
627

728

packages/aws-cdk-lib/cx-api/FEATURE_FLAGS.md

+20-20
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ Flags come in three types:
8484
| [@aws-cdk/aws-ec2:bastionHostUseAmazonLinux2023ByDefault](#aws-cdkaws-ec2bastionhostuseamazonlinux2023bydefault) | When enabled, the BastionHost construct will use the latest Amazon Linux 2023 AMI, instead of Amazon Linux 2. | 2.172.0 | (default) |
8585
| [@aws-cdk/core:aspectStabilization](#aws-cdkcoreaspectstabilization) | When enabled, a stabilization loop will be run when invoking Aspects during synthesis. | 2.172.0 | (config) |
8686
| [@aws-cdk/aws-route53-targets:userPoolDomainNameMethodWithoutCustomResource](#aws-cdkaws-route53-targetsuserpooldomainnamemethodwithoutcustomresource) | When enabled, use a new method for DNS Name of user pool domain target without creating a custom resource. | 2.174.0 | (fix) |
87-
| [@aws-cdk/aws-ecs:disableEcsImdsBlocking](#aws-cdkaws-ecsdisableecsimdsblocking) | When set to true, CDK synth will throw exception if canContainersAccessInstanceRole is false. **IMPORTANT: See [details.](#aws-cdkaws-ecsdisableEcsImdsBlocking)** | V2NEXT | (temporary) |
88-
| [@aws-cdk/aws-ecs:enableImdsBlockingDeprecatedFeature](#aws-cdkaws-ecsenableimdsblockingdeprecatedfeature) | When set to true along with canContainersAccessInstanceRole=false in ECS cluster, new updated commands will be added to UserData to block container accessing IMDS. **Applicable to Linux only. IMPORTANT: See [details.](#aws-cdkaws-ecsenableImdsBlockingDeprecatedFeature)** | V2NEXT | (temporary) |
87+
| [@aws-cdk/aws-ecs:disableEcsImdsBlocking](#aws-cdkaws-ecsdisableecsimdsblocking) | When set to true, CDK synth will throw exception if canContainersAccessInstanceRole is false. **IMPORTANT: See [details.](#aws-cdkaws-ecsdisableEcsImdsBlocking)** | 2.175.0 | (temporary) |
88+
| [@aws-cdk/aws-ecs:enableImdsBlockingDeprecatedFeature](#aws-cdkaws-ecsenableimdsblockingdeprecatedfeature) | When set to true along with canContainersAccessInstanceRole=false in ECS cluster, new updated commands will be added to UserData to block container accessing IMDS. **Applicable to Linux only. IMPORTANT: See [details.](#aws-cdkaws-ecsenableImdsBlockingDeprecatedFeature)** | 2.175.0 | (temporary) |
8989

9090
<!-- END table -->
9191

@@ -1573,6 +1573,22 @@ When this feature flag is enabled, a stabilization loop is run to recurse the co
15731573
| 2.172.0 | `true` | `true` |
15741574

15751575

1576+
### @aws-cdk/aws-route53-targets:userPoolDomainNameMethodWithoutCustomResource
1577+
1578+
*When enabled, use a new method for DNS Name of user pool domain target without creating a custom resource.* (fix)
1579+
1580+
When this feature flag is enabled, a new method will be used to get the DNS Name of the user pool domain target. The old method
1581+
creates a custom resource internally, but the new method doesn't need a custom resource.
1582+
1583+
If the flag is set to false then a custom resource will be created when using `UserPoolDomainTarget`.
1584+
1585+
1586+
| Since | Default | Recommended |
1587+
| ----- | ----- | ----- |
1588+
| (not in v1) | | |
1589+
| 2.174.0 | `false` | `true` |
1590+
1591+
15761592
### @aws-cdk/aws-ecs:disableEcsImdsBlocking
15771593

15781594
*When set to true, CDK synth will throw exception if canContainersAccessInstanceRole is false. **IMPORTANT: See [details.](#aws-cdkaws-ecsdisableEcsImdsBlocking)*** (temporary)
@@ -1588,7 +1604,7 @@ It is recommended to follow ECS documentation to block IMDS for your specific pl
15881604
| Since | Default | Recommended |
15891605
| ----- | ----- | ----- |
15901606
| (not in v1) | | |
1591-
| V2NEXT | `false` | `true` |
1607+
| 2.175.0 | `false` | `true` |
15921608

15931609
**Compatibility with old behavior:** It is strongly recommended to set this flag to true. However, if necessary, set this flag to false to continue using the old implementation.
15941610

@@ -1607,25 +1623,9 @@ It is recommended to follow ECS documentation to block IMDS for your specific pl
16071623
| Since | Default | Recommended |
16081624
| ----- | ----- | ----- |
16091625
| (not in v1) | | |
1610-
| V2NEXT | `false` | `false` |
1626+
| 2.175.0 | `false` | `false` |
16111627

16121628
**Compatibility with old behavior:** Set this flag to false in order to continue using old and outdated commands. However, it is **not** recommended.
16131629

16141630

1615-
### @aws-cdk/aws-route53-targets:userPoolDomainNameMethodWithoutCustomResource
1616-
1617-
*When enabled, use a new method for DNS Name of user pool domain target without creating a custom resource.* (fix)
1618-
1619-
When this feature flag is enabled, a new method will be used to get the DNS Name of the user pool domain target. The old method
1620-
creates a custom resource internally, but the new method doesn't need a custom resource.
1621-
1622-
If the flag is set to false then a custom resource will be created when using `UserPoolDomainTarget`.
1623-
1624-
1625-
| Since | Default | Recommended |
1626-
| ----- | ----- | ----- |
1627-
| (not in v1) | | |
1628-
| 2.174.0 | `false` | `true` |
1629-
1630-
16311631
<!-- END details -->

packages/aws-cdk-lib/cx-api/lib/features.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1153,7 +1153,7 @@ export const FLAGS: Record<string, FlagInfo> = {
11531153
guarantee the correct execution of the feature in all platforms. See [Github discussion](https://github.com/aws/aws-cdk/discussions/32609) for more information.
11541154
It is recommended to follow ECS documentation to block IMDS for your specific platform and cluster configuration.
11551155
`,
1156-
introducedIn: { v2: 'V2NEXT' },
1156+
introducedIn: { v2: '2.175.0' },
11571157
recommendedValue: false,
11581158
compatibilityWithOldBehaviorMd: 'Set this flag to false in order to continue using old and outdated commands. ' +
11591159
'However, it is **not** recommended.',
@@ -1172,7 +1172,7 @@ export const FLAGS: Record<string, FlagInfo> = {
11721172
11731173
It is recommended to follow ECS documentation to block IMDS for your specific platform and cluster configuration.
11741174
`,
1175-
introducedIn: { v2: 'V2NEXT' },
1175+
introducedIn: { v2: '2.175.0' },
11761176
recommendedValue: true,
11771177
compatibilityWithOldBehaviorMd: 'It is strongly recommended to set this flag to true. However, if necessary, set ' +
11781178
'this flag to false to continue using the old implementation.',

packages/aws-cdk-lib/recommended-feature-flags.json

+2
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@
5050
"@aws-cdk/aws-ecs:removeDefaultDeploymentAlarm": true,
5151
"@aws-cdk/custom-resources:logApiResponseDataPropertyTrueDefault": false,
5252
"@aws-cdk/aws-s3:keepNotificationInImportedBucket": false,
53+
"@aws-cdk/aws-ecs:enableImdsBlockingDeprecatedFeature": false,
54+
"@aws-cdk/aws-ecs:disableEcsImdsBlocking": true,
5355
"@aws-cdk/aws-ecs:reduceEc2FargateCloudWatchPermissions": true,
5456
"@aws-cdk/aws-dynamodb:resourcePolicyPerReplica": true,
5557
"@aws-cdk/aws-ec2:ec2SumTImeoutEnabled": true,

version.v2.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"version": "2.174.1",
3-
"alphaVersion": "2.174.1-alpha.0"
2+
"version": "2.175.0",
3+
"alphaVersion": "2.175.0-alpha.0"
44
}

0 commit comments

Comments
 (0)