Skip to content

Commit

Permalink
Merge pull request #1425 from aws/bump/1.6.0
Browse files Browse the repository at this point in the history
chore(release): 1.6.0
  • Loading branch information
marofke authored Jan 10, 2025
2 parents 70b9736 + 85c5e35 commit 4c62fcd
Show file tree
Hide file tree
Showing 23 changed files with 1,372 additions and 1,059 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,24 @@

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.

## [1.6.0](https://github.com/aws/aws-rfdk/compare/v1.5.0...v1.6.0) (2025-01-09)


### Supported CDK Version

* [2.163.0](https://github.com/aws/aws-cdk/releases/tag/v2.163.0)


### Officially Supported Deadline Versions

* [10.1.9.2 to 10.4.0.10](https://docs.thinkboxsoftware.com/products/deadline/10.4/1_User%20Manual/manual/release-notes.html)


### Bug Fixes

* 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))
* 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))

## [1.5.0](https://github.com/aws/aws-rfdk/compare/v1.4.0...v1.5.0) (2024-12-05)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

install_requires=[
"aws-cdk-lib==2.163.0",
"aws-rfdk==1.5.0"
"aws-rfdk==1.6.0"
],

python_requires=">=3.7",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "all-in-farm-basic",
"version": "1.5.0",
"version": "1.6.0",
"bin": {
"app": "bin/app.js"
},
Expand All @@ -20,7 +20,7 @@
},
"dependencies": {
"aws-cdk-lib": "2.163.0",
"aws-rfdk": "1.5.0",
"aws-rfdk": "1.6.0",
"source-map-support": "^0.5.21"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

install_requires=[
"aws-cdk-lib==2.163.0",
"aws-rfdk==1.5.0"
"aws-rfdk==1.6.0"
],

python_requires=">=3.7",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "all-in-farm-sep",
"version": "1.5.0",
"version": "1.6.0",
"bin": {
"app": "bin/app.js"
},
Expand All @@ -25,7 +25,7 @@
},
"dependencies": {
"aws-cdk-lib": "2.163.0",
"aws-rfdk": "1.5.0",
"aws-rfdk": "1.6.0",
"constructs": "^10.0.0",
"source-map-support": "^0.5.21"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/deadline/EC2-Image-Builder/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

install_requires=[
"aws-cdk-lib==2.163.0",
"aws-rfdk==1.5.0",
"aws-rfdk==1.6.0",
],

python_requires=">=3.7",
Expand Down
4 changes: 2 additions & 2 deletions examples/deadline/EC2-Image-Builder/ts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "all-in-farm-image-builder",
"version": "1.5.0",
"version": "1.6.0",
"bin": {
"app": "bin/app.js"
},
Expand All @@ -21,7 +21,7 @@
},
"dependencies": {
"aws-cdk-lib": "2.163.0",
"aws-rfdk": "1.5.0",
"aws-rfdk": "1.6.0",
"constructs": "^10.0.0",
"source-map-support": "^0.5.21"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/deadline/Local-Zone/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

install_requires=[
"aws-cdk-lib==2.163.0",
"aws-rfdk==1.5.0"
"aws-rfdk==1.6.0"
],

python_requires=">=3.7",
Expand Down
4 changes: 2 additions & 2 deletions examples/deadline/Local-Zone/ts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "all-in-farm-local-zone",
"version": "1.5.0",
"version": "1.6.0",
"bin": {
"app": "bin/app.js"
},
Expand All @@ -20,7 +20,7 @@
},
"dependencies": {
"aws-cdk-lib": "2.163.0",
"aws-rfdk": "1.5.0",
"aws-rfdk": "1.6.0",
"constructs": "^10.0.0",
"source-map-support": "^0.5.21"
}
Expand Down
16 changes: 8 additions & 8 deletions integ/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "integ",
"version": "1.5.0",
"version": "1.6.0",
"private": false,
"description": "Integration tests for RFDK constructs",
"bin": {
Expand Down Expand Up @@ -60,28 +60,28 @@
"aws-cdk": "2.163.0",
"eslint": "^8.57.0",
"eslint-import-resolver-node": "^0.3.9",
"eslint-import-resolver-typescript": "^3.6.3",
"eslint-import-resolver-typescript": "^3.7.0",
"eslint-plugin-deprecation": "^3.0.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jest": "^28.8.3",
"eslint-plugin-jest": "^28.10.0",
"eslint-plugin-license-header": "^0.6.0",
"jest": "^29.7.0",
"pkglint": "1.5.0",
"pkglint": "1.6.0",
"ts-jest": "^29.2.5",
"typescript": "~5.4.5"
},
"dependencies": {
"@aws-sdk/client-cloudformation": "^3.696.0",
"@aws-sdk/client-cloudformation": "^3.716.0",
"@aws-sdk/client-cloudwatch-logs": "^3.693.0",
"@aws-sdk/client-secrets-manager": "^3.675.0",
"@aws-sdk/client-ssm": "^3.698.0",
"@aws-sdk/client-ssm": "^3.716.0",
"aws-cdk-lib": "2.163.0",
"aws-rfdk": "1.5.0",
"aws-rfdk": "1.6.0",
"constructs": "^10.0.0"
},
"peerDependencies": {
"aws-cdk-lib": "2.163.0",
"aws-rfdk": "1.5.0",
"aws-rfdk": "1.6.0",
"constructs": "^10.0.0"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion lambda-layers/bin/publish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ getRegions().then(regions => {
region,
runtimes,
).catch(e => {
console.error(`Failed publishing in ${region}, which may be due to the REGION_DENY_LIST needing updating. Error: ${e}`);
console.error(`Failed publishing in ${region}, which may be due to the REGION_ALLOW_LIST needing updating. Error: ${e}`);
throw e;
});
}
Expand Down
37 changes: 21 additions & 16 deletions lambda-layers/lib/get-regions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,32 @@ import {
GetParametersByPathCommand,
} from '@aws-sdk/client-ssm';

// These regions need to be enabled for the AWS account being used for publishing, so we skip them
// Regions introduced before March 20, 2019 are enabled by default, so we maintain this
// allowlist to only publish to these regions since we can gurantee the account uses them.
// See https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-regions.html
const REGION_DENY_LIST = [
'af-south-1',
'ap-east-1',
'ap-south-2',
'ap-southeast-3',
'ap-southeast-4',
'ap-southeast-5',
'ca-west-1',
'eu-south-1',
'eu-south-2',
'eu-central-2',
'il-central-1',
'me-south-1',
'me-central-1',
const REGION_ALLOW_LIST = [
'ap-northeast-1',
'ap-northeast-2',
'ap-northeast-3',
'ap-south-1',
'ap-southeast-1',
'ap-southeast-2',
'ca-central-1',
'eu-central-1',
'eu-north-1',
'eu-west-1',
'eu-west-2',
'eu-west-3',
'sa-east-1',
'us-east-1',
'us-east-2',
'us-west-1',
'us-west-2'
];

function isValidRegion(region: string): boolean {
return (
!REGION_DENY_LIST.includes(region)
REGION_ALLOW_LIST.includes(region)
&& !region.startsWith('cn-')
&& !region.startsWith('us-gov-')
);
Expand Down
2 changes: 1 addition & 1 deletion lambda-layers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@
},
"dependencies": {
"@aws-sdk/client-lambda": "3.691.0",
"@aws-sdk/client-ssm": "3.698.0"
"@aws-sdk/client-ssm": "3.716.0"
}
}
Loading

0 comments on commit 4c62fcd

Please sign in to comment.