Open kurtislamb opened 1 month ago
@kurtislamb , thanks for reporting this issue.
I recall similar issues were reported in the past, upon looking at the CloudFormation documentation here, I found the following snippet:
Once the game server group and corresponding Auto Scaling group are created, you have full access to change the Auto Scaling group's configuration as needed. Several properties that are set when creating a game server group, including maximum/minimum size and auto-scaling policy settings, must be updated directly in the Auto Scaling group. Keep in mind that some Auto Scaling group properties are periodically updated by GameLift FleetIQ as part of its balancing activities to optimize for availability and cost.
Appears to me that the behavior that you reported matches the call out in this documentation.
At the moment, I consider this as the expected behavior from the upstream service (GameLift Server Group). I will pass on this issue to the GameLift team for consideration. I also suggest you to reach out to your AWS account team to share your feedback.
Community Note
Terraform CLI and Terraform AWS Cloud Control Provider Version
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Expected Behavior
When changing values in the resource, these are reflected in the underlying Auto Scaling Group(ASG), I have tested this on
Min/Max Server Size
andtarget_tracking_configuration
. An Apply triggers an UPDATE toawscc_gamelift_game_server_group
Actual Behavior
When a change occurs in the below values,
awscc_gamelift_game_server_group
updates correctly but these changes are not passed down to the ASG theawscc_gamelift_game_server_group
resource is responsible for managing.target_tracking_configuration
- when changed in the GameServerGroup(GSG) this does not change in the ASGmin_size
- when changed in the GameServerGroup(GSG) this does not change in the ASGmax_size
- when changed in the GameServerGroup(GSG) this does not change in the ASGI have observed that changing
instance_definitions
does result in a change on the ASGSteps to Reproduce
terraform apply
- Deploy anawscc_gamelift_game_server_group
resourceterraform apply
- Updatemin_size
,max_size
ortarget_tracking_configuration
observe in console
- check console to see ASG has not received values from GSGImportant Factoids
References
The below images are were all successful applies which have updated the
awscc_gamelift_game_server_group
I captured the proposed change before confirming yesChange 1
Change 2
Change 1 - Console View After Apply (60 minutes later)
Change 2 - Console View After Apply (60 minutes later)