Open wintersieck opened 8 months ago
Interesting. Can you check the min
property value in the template from cdk synth
?
As far as I can tell from here, it should be correctly passed to cloudformation? https://github.com/aws/aws-cdk/blob/b8b6bafc07b0804f6e802ba563ff3b7deaea6eee/packages/%40aws-cdk/aws-gamelift-alpha/lib/build-fleet.ts#L151
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
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