Skip to content

Commit

Permalink
fix: Add feature flag to unblock new deployments (#1365)
Browse files Browse the repository at this point in the history
Added the feature flag:
@aws-cdk/aws-autoscaling:generateLaunchTemplateInsteadOfLaunchConfig

to all example RFDK applications, as well as the integration tests.
This allows deployments in fresh accounts to succeed since Launch
Configurations are deprecated.

Signed-off-by: Caden Marofke <132690522+marofke@users.noreply.github.com>
  • Loading branch information
marofke authored Nov 5, 2024
1 parent f0ca078 commit 79490d9
Show file tree
Hide file tree
Showing 14 changed files with 21 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"app": "python -m package.app",
"context": {
"@aws-cdk/aws-autoscaling:generateLaunchTemplateInsteadOfLaunchConfig": true
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"app": "npx ts-node bin/app.ts",
"context": {
"@aws-cdk/aws-autoscaling:generateLaunchTemplateInsteadOfLaunchConfig": true
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"app": "python -m package.app",
"context": {
"@aws-cdk/aws-autoscaling:generateLaunchTemplateInsteadOfLaunchConfig": true
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"app": "npx ts-node bin/app.ts",
"context": {
"@aws-cdk/aws-autoscaling:generateLaunchTemplateInsteadOfLaunchConfig": true
}
}
1 change: 1 addition & 0 deletions examples/deadline/EC2-Image-Builder/python/cdk.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"app": "python -m package.app",
"context": {
"@aws-cdk/aws-autoscaling:generateLaunchTemplateInsteadOfLaunchConfig": true
}
}
1 change: 1 addition & 0 deletions examples/deadline/EC2-Image-Builder/ts/cdk.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"app": "npx ts-node bin/app.ts",
"context": {
"@aws-cdk/aws-autoscaling:generateLaunchTemplateInsteadOfLaunchConfig": true
}
}
1 change: 1 addition & 0 deletions examples/deadline/Local-Zone/ts/cdk.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"app": "npx ts-node bin/app.ts",
"context": {
"@aws-cdk/aws-autoscaling:generateLaunchTemplateInsteadOfLaunchConfig": true
}
}
3 changes: 2 additions & 1 deletion integ/cdk.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"context": {
"@aws-cdk/aws-ec2:uniqueImdsv2TemplateName": true
"@aws-cdk/aws-ec2:uniqueImdsv2TemplateName": true,
"@aws-cdk/aws-autoscaling:generateLaunchTemplateInsteadOfLaunchConfig": true
}
}
3 changes: 2 additions & 1 deletion integ/components/_infrastructure/cdk.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"app": "npx ts-node bin/_infrastructure.ts",
"context": {
"@aws-cdk/aws-ec2:uniqueImdsv2TemplateName": true
"@aws-cdk/aws-ec2:uniqueImdsv2TemplateName": true,
"@aws-cdk/aws-autoscaling:generateLaunchTemplateInsteadOfLaunchConfig": true
}
}
3 changes: 2 additions & 1 deletion integ/components/deadline/deadline_01_repository/cdk.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"app": "npx ts-node bin/deadline_01_repository.ts",
"context": {
"@aws-cdk/aws-ec2:uniqueImdsv2TemplateName": true
"@aws-cdk/aws-ec2:uniqueImdsv2TemplateName": true,
"@aws-cdk/aws-autoscaling:generateLaunchTemplateInsteadOfLaunchConfig": true
}
}
3 changes: 2 additions & 1 deletion integ/components/deadline/deadline_02_renderQueue/cdk.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"app": "npx ts-node bin/deadline_02_renderQueue.ts",
"context": {
"@aws-cdk/aws-ec2:uniqueImdsv2TemplateName": true
"@aws-cdk/aws-ec2:uniqueImdsv2TemplateName": true,
"@aws-cdk/aws-autoscaling:generateLaunchTemplateInsteadOfLaunchConfig": true
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"app": "npx ts-node bin/deadline_03_workerFleetHttp.ts",
"context": {
"@aws-cdk/aws-ec2:uniqueImdsv2TemplateName": true
"@aws-cdk/aws-ec2:uniqueImdsv2TemplateName": true,
"@aws-cdk/aws-autoscaling:generateLaunchTemplateInsteadOfLaunchConfig": true
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"app": "npx ts-node bin/deadline_04_workerFleetHttps.ts",
"context": {
"@aws-cdk/aws-ec2:uniqueImdsv2TemplateName": true
"@aws-cdk/aws-ec2:uniqueImdsv2TemplateName": true,
"@aws-cdk/aws-autoscaling:generateLaunchTemplateInsteadOfLaunchConfig": true
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"app": "npx ts-node bin/deadline_05_secretsManagement.ts",
"context": {
"@aws-cdk/aws-ec2:uniqueImdsv2TemplateName": true
"@aws-cdk/aws-ec2:uniqueImdsv2TemplateName": true,
"@aws-cdk/aws-autoscaling:generateLaunchTemplateInsteadOfLaunchConfig": true
}
}

0 comments on commit 79490d9

Please sign in to comment.