Skip to content

Commit 4c62fcd

Browse files
authored
Merge pull request #1425 from aws/bump/1.6.0
chore(release): 1.6.0
2 parents 70b9736 + 85c5e35 commit 4c62fcd

File tree

23 files changed

+1372
-1059
lines changed

23 files changed

+1372
-1059
lines changed

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,24 @@
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+
## [1.6.0](https://github.com/aws/aws-rfdk/compare/v1.5.0...v1.6.0) (2025-01-09)
6+
7+
8+
### Supported CDK Version
9+
10+
* [2.163.0](https://github.com/aws/aws-cdk/releases/tag/v2.163.0)
11+
12+
13+
### Officially Supported Deadline Versions
14+
15+
* [10.1.9.2 to 10.4.0.10](https://docs.thinkboxsoftware.com/products/deadline/10.4/1_User%20Manual/manual/release-notes.html)
16+
17+
18+
### Bug Fixes
19+
20+
* Set Amazon Linux version based on Deadline Repository version ([#1419](https://github.com/aws/aws-rfdk/issues/1419)) ([822ee19](https://github.com/aws/aws-rfdk/commit/822ee1931d5c82d3e91e9035bab783e4517515bd))
21+
* Switch lambda layers to use a region allow list for publishing ([#1422](https://github.com/aws/aws-rfdk/issues/1422)) ([f99f868](https://github.com/aws/aws-rfdk/commit/f99f86830959faadc917c16f1f941ded268dbdb6))
22+
523
## [1.5.0](https://github.com/aws/aws-rfdk/compare/v1.4.0...v1.5.0) (2024-12-05)
624

725

examples/deadline/All-In-AWS-Infrastructure-Basic/python/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
install_requires=[
2020
"aws-cdk-lib==2.163.0",
21-
"aws-rfdk==1.5.0"
21+
"aws-rfdk==1.6.0"
2222
],
2323

2424
python_requires=">=3.7",

examples/deadline/All-In-AWS-Infrastructure-Basic/ts/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "all-in-farm-basic",
3-
"version": "1.5.0",
3+
"version": "1.6.0",
44
"bin": {
55
"app": "bin/app.js"
66
},
@@ -20,7 +20,7 @@
2020
},
2121
"dependencies": {
2222
"aws-cdk-lib": "2.163.0",
23-
"aws-rfdk": "1.5.0",
23+
"aws-rfdk": "1.6.0",
2424
"source-map-support": "^0.5.21"
2525
}
2626
}

examples/deadline/All-In-AWS-Infrastructure-SEP/python/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
install_requires=[
2020
"aws-cdk-lib==2.163.0",
21-
"aws-rfdk==1.5.0"
21+
"aws-rfdk==1.6.0"
2222
],
2323

2424
python_requires=">=3.7",

examples/deadline/All-In-AWS-Infrastructure-SEP/ts/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "all-in-farm-sep",
3-
"version": "1.5.0",
3+
"version": "1.6.0",
44
"bin": {
55
"app": "bin/app.js"
66
},
@@ -25,7 +25,7 @@
2525
},
2626
"dependencies": {
2727
"aws-cdk-lib": "2.163.0",
28-
"aws-rfdk": "1.5.0",
28+
"aws-rfdk": "1.6.0",
2929
"constructs": "^10.0.0",
3030
"source-map-support": "^0.5.21"
3131
}

examples/deadline/EC2-Image-Builder/python/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
install_requires=[
2020
"aws-cdk-lib==2.163.0",
21-
"aws-rfdk==1.5.0",
21+
"aws-rfdk==1.6.0",
2222
],
2323

2424
python_requires=">=3.7",

examples/deadline/EC2-Image-Builder/ts/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "all-in-farm-image-builder",
3-
"version": "1.5.0",
3+
"version": "1.6.0",
44
"bin": {
55
"app": "bin/app.js"
66
},
@@ -21,7 +21,7 @@
2121
},
2222
"dependencies": {
2323
"aws-cdk-lib": "2.163.0",
24-
"aws-rfdk": "1.5.0",
24+
"aws-rfdk": "1.6.0",
2525
"constructs": "^10.0.0",
2626
"source-map-support": "^0.5.21"
2727
}

examples/deadline/Local-Zone/python/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
install_requires=[
2020
"aws-cdk-lib==2.163.0",
21-
"aws-rfdk==1.5.0"
21+
"aws-rfdk==1.6.0"
2222
],
2323

2424
python_requires=">=3.7",

examples/deadline/Local-Zone/ts/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "all-in-farm-local-zone",
3-
"version": "1.5.0",
3+
"version": "1.6.0",
44
"bin": {
55
"app": "bin/app.js"
66
},
@@ -20,7 +20,7 @@
2020
},
2121
"dependencies": {
2222
"aws-cdk-lib": "2.163.0",
23-
"aws-rfdk": "1.5.0",
23+
"aws-rfdk": "1.6.0",
2424
"constructs": "^10.0.0",
2525
"source-map-support": "^0.5.21"
2626
}

integ/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "integ",
3-
"version": "1.5.0",
3+
"version": "1.6.0",
44
"private": false,
55
"description": "Integration tests for RFDK constructs",
66
"bin": {
@@ -60,28 +60,28 @@
6060
"aws-cdk": "2.163.0",
6161
"eslint": "^8.57.0",
6262
"eslint-import-resolver-node": "^0.3.9",
63-
"eslint-import-resolver-typescript": "^3.6.3",
63+
"eslint-import-resolver-typescript": "^3.7.0",
6464
"eslint-plugin-deprecation": "^3.0.0",
6565
"eslint-plugin-import": "^2.31.0",
66-
"eslint-plugin-jest": "^28.8.3",
66+
"eslint-plugin-jest": "^28.10.0",
6767
"eslint-plugin-license-header": "^0.6.0",
6868
"jest": "^29.7.0",
69-
"pkglint": "1.5.0",
69+
"pkglint": "1.6.0",
7070
"ts-jest": "^29.2.5",
7171
"typescript": "~5.4.5"
7272
},
7373
"dependencies": {
74-
"@aws-sdk/client-cloudformation": "^3.696.0",
74+
"@aws-sdk/client-cloudformation": "^3.716.0",
7575
"@aws-sdk/client-cloudwatch-logs": "^3.693.0",
7676
"@aws-sdk/client-secrets-manager": "^3.675.0",
77-
"@aws-sdk/client-ssm": "^3.698.0",
77+
"@aws-sdk/client-ssm": "^3.716.0",
7878
"aws-cdk-lib": "2.163.0",
79-
"aws-rfdk": "1.5.0",
79+
"aws-rfdk": "1.6.0",
8080
"constructs": "^10.0.0"
8181
},
8282
"peerDependencies": {
8383
"aws-cdk-lib": "2.163.0",
84-
"aws-rfdk": "1.5.0",
84+
"aws-rfdk": "1.6.0",
8585
"constructs": "^10.0.0"
8686
},
8787
"engines": {

lambda-layers/bin/publish.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ getRegions().then(regions => {
108108
region,
109109
runtimes,
110110
).catch(e => {
111-
console.error(`Failed publishing in ${region}, which may be due to the REGION_DENY_LIST needing updating. Error: ${e}`);
111+
console.error(`Failed publishing in ${region}, which may be due to the REGION_ALLOW_LIST needing updating. Error: ${e}`);
112112
throw e;
113113
});
114114
}

lambda-layers/lib/get-regions.ts

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,27 +10,32 @@ import {
1010
GetParametersByPathCommand,
1111
} from '@aws-sdk/client-ssm';
1212

13-
// These regions need to be enabled for the AWS account being used for publishing, so we skip them
13+
// Regions introduced before March 20, 2019 are enabled by default, so we maintain this
14+
// allowlist to only publish to these regions since we can gurantee the account uses them.
1415
// See https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-regions.html
15-
const REGION_DENY_LIST = [
16-
'af-south-1',
17-
'ap-east-1',
18-
'ap-south-2',
19-
'ap-southeast-3',
20-
'ap-southeast-4',
21-
'ap-southeast-5',
22-
'ca-west-1',
23-
'eu-south-1',
24-
'eu-south-2',
25-
'eu-central-2',
26-
'il-central-1',
27-
'me-south-1',
28-
'me-central-1',
16+
const REGION_ALLOW_LIST = [
17+
'ap-northeast-1',
18+
'ap-northeast-2',
19+
'ap-northeast-3',
20+
'ap-south-1',
21+
'ap-southeast-1',
22+
'ap-southeast-2',
23+
'ca-central-1',
24+
'eu-central-1',
25+
'eu-north-1',
26+
'eu-west-1',
27+
'eu-west-2',
28+
'eu-west-3',
29+
'sa-east-1',
30+
'us-east-1',
31+
'us-east-2',
32+
'us-west-1',
33+
'us-west-2'
2934
];
3035

3136
function isValidRegion(region: string): boolean {
3237
return (
33-
!REGION_DENY_LIST.includes(region)
38+
REGION_ALLOW_LIST.includes(region)
3439
&& !region.startsWith('cn-')
3540
&& !region.startsWith('us-gov-')
3641
);

lambda-layers/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@
3434
},
3535
"dependencies": {
3636
"@aws-sdk/client-lambda": "3.691.0",
37-
"@aws-sdk/client-ssm": "3.698.0"
37+
"@aws-sdk/client-ssm": "3.716.0"
3838
}
3939
}

0 commit comments

Comments
 (0)