Google Game Servers Game Services Game Server Deployment Rollout

This page shows how to write Terraform for Game Servers Game Services Game Server Deployment Rollout and write them securely.

google_game_services_game_server_deployment_rollout (Terraform)

The Game Services Game Server Deployment Rollout in Game Servers can be configured in Terraform with the resource name google_game_services_game_server_deployment_rollout. The following sections describe 1 example of how to use the resource and its parameters.

Example Usage from GitHub

main.tf#L7
resource "google_game_services_game_server_deployment_rollout" "this" {
  default_game_server_config = var.default_game_server_config
  deployment_id              = var.deployment_id
  project                    = var.project

  dynamic "game_server_config_overrides" {

Review your Terraform file for Google best practices

Shisho Cloud, our free checker to make sure your Terraform configuration follows best practices, is available (beta).

Parameters

This field points to the game server config that is applied by default to all realms and clusters. For example, 'projects/my-project/locations/global/gameServerDeployments/my-game/configs/my-config'.

The deployment to rollout the new config to. Only 1 rollout must be associated with each deployment.

  • id optional computed - string
  • name optional computed - string

The resource id of the game server deployment eg: 'projects/my-project/locations/global/gameServerDeployments/my-deployment/rollout'.

Explanation in Terraform Registry

This represents the rollout state. This is part of the game server deployment. To get more information about GameServerDeploymentRollout, see:

Frequently asked questions

What is Google Game Servers Game Services Game Server Deployment Rollout?

Google Game Servers Game Services Game Server Deployment Rollout is a resource for Game Servers of Google Cloud Platform. Settings can be wrote in Terraform.

Where can I find the example code for the Google Game Servers Game Services Game Server Deployment Rollout?

For Terraform, the niveklabs/google source code example is useful. See the Terraform Example section for further details.

security-icon

Automate config file reviews on your commits

Fix issues in your infrastructure as code with auto-generated patches.