Skip to content

Commit 315602e

Browse files
authored
Adding changes to remove additional cloudformation parameter Bootstrap version (aws-solutions#346)
* Adding changes to remove additional cloudformation parameter Bootstrap version * Removing redundant installation for python dependencies
1 parent 13b62da commit 315602e

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

buildspec.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ phases:
66
python: 3.10
77
commands:
88
- pip install --upgrade pip
9-
- pip install -r source/lambda/requirements.txt -t source/lambda/
109
pre_build:
1110
commands:
1211
- echo "Installing dependencies and executing unit tests - `pwd`"

source/bin/aws-instance-scheduler.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ const SOLUTION_PROVIDER = 'AWS Solution Development';
2828
const app = new cdk.App();
2929

3030
new AwsInstanceSchedulerStack(app, 'aws-instance-scheduler', {
31+
synthesizer: new cdk.DefaultStackSynthesizer({
32+
generateBootstrapVersionRule: false
33+
}),
3134
description: `(${SOLUTION_ID}) - The AWS CloudFormation template for deployment of the ${SOLUTION_NAME}, version: ${SOLUTION_VERSION}`,
3235
solutionId: SOLUTION_ID,
3336
solutionTradeMarkName: SOLUTION_TMN,
@@ -37,6 +40,9 @@ new AwsInstanceSchedulerStack(app, 'aws-instance-scheduler', {
3740
solutionVersion: SOLUTION_VERSION
3841
});
3942
new AwsInstanceSchedulerRemoteStack(app, 'aws-instance-scheduler-remote', {
43+
synthesizer: new cdk.DefaultStackSynthesizer({
44+
generateBootstrapVersionRule: false
45+
}),
4046
description: `(${SOLUTION_ID}S) - The AWS CloudFormation template for ${SOLUTION_NAME} cross account role, version: ${SOLUTION_VERSION}`,
4147
solutionId: SOLUTION_ID,
4248
solutionTradeMarkName: SOLUTION_TMN,

0 commit comments

Comments
 (0)