Google Game Servers Game Services Game Server Deployment

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

google_game_services_game_server_deployment (Terraform)

The Game Services Game Server Deployment in Game Servers can be configured in Terraform with the resource name google_game_services_game_server_deployment. 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" "this" {
  deployment_id = var.deployment_id
  description   = var.description
  labels        = var.labels
  location      = var.location
  project       = var.project

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

A unique id for the deployment.

Human readable description of the game server deployment.

  • id optional computed - string
  • labels optional - map from string to string

The labels associated with this game server deployment. Each label is a key-value pair.

Location of the Deployment.

  • name optional computed - string

The resource id of the game server deployment, eg: 'projects/[project_id]/locations/[location]/gameServerDeployments/[deployment_id]'. For example, 'projects/my-project/locations/[location]/gameServerDeployments/my-deployment'.

Explanation in Terraform Registry

A game server deployment resource. To get more information about GameServerDeployment, see:

Frequently asked questions

What is Google Game Servers Game Services Game Server Deployment?

Google Game Servers Game Services Game Server Deployment 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?

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.