We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting minSize and maxSize on BuildFleet don't seem to take effect. Example:
minSize
maxSize
BuildFleet
const fleet = new gamelift.BuildFleet(this, "Game server fleet", { fleetName: id, content: build, instanceType: ec2.InstanceType.of( ec2.InstanceClass.R5, ec2.InstanceSize.LARGE ), desiredCapacity: 1, minSize: 1, maxSize: 2, runtimeConfiguration: { serverProcesses: [ { launchPath: "/local/game/GameServer", concurrentExecutions: 4, }, ], }, });
When deployed, they don't take effect when viewed in the console:
minSize and maxSize should work.
minSize and maxSize don't effect anything when deployed.
See example above.
No response
2.101.1
v20.8.1
Ubuntu (WSL2 on Windows 11)
TypeScript
5.2.2
The text was updated successfully, but these errors were encountered:
Interesting. Can you check the min property value in the template from cdk synth?
min
cdk synth
As far as I can tell from here, it should be correctly passed to cloudformation?
aws-cdk/packages/@aws-cdk/aws-gamelift-alpha/lib/build-fleet.ts
Line 151 in b8b6baf
Sorry, something went wrong.
I had the same thought when I glanced at it (it sure looks right!). Interestingly, the template does show the correct values:
$ cdk synth <stackName> | grep Size MaxSize: 2 MinSize: 1
No branches or pull requests
Describe the bug
Setting
minSize
andmaxSize
onBuildFleet
don't seem to take effect. Example:When deployed, they don't take effect when viewed in the console:
Expected Behavior
minSize
andmaxSize
should work.Current Behavior
minSize
andmaxSize
don't effect anything when deployed.Reproduction Steps
See example above.
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.101.1
Framework Version
No response
Node.js Version
v20.8.1
OS
Ubuntu (WSL2 on Windows 11)
Language
TypeScript
Language Version
5.2.2
Other information
No response
The text was updated successfully, but these errors were encountered: