» google_game_services_game_server_deployment

A game server deployment resource.

To get more information about GameServerDeployment, see:

» Example Usage - Game Service Deployment Basic

resource "google_game_services_game_server_deployment" "default" {
  provider = google-beta

  deployment_id  = "tf-test-deployment"
  description = "a deployment description"
}

» Argument Reference

The following arguments are supported:


  • description - (Optional) Human readable description of the game server deployment.

  • location - (Optional) Location of the Deployment.

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

  • project - (Optional) The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

» Attributes Reference

In addition to the arguments listed above, the following computed attributes are exported:

  • id - an identifier for the resource with format projects/{{project}}/locations/{{location}}/gameServerDeployments/{{deployment_id}}

  • name - 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.

» Timeouts

This resource provides the following Timeouts configuration options:

  • create - Default is 4 minutes.
  • update - Default is 4 minutes.
  • delete - Default is 4 minutes.

» Import

GameServerDeployment can be imported using any of these accepted formats:

$ terraform import -provider=google-beta google_game_services_game_server_deployment.default projects/{{project}}/locations/{{location}}/gameServerDeployments/{{name}}
$ terraform import -provider=google-beta google_game_services_game_server_deployment.default {{project}}/{{location}}/{{name}}
$ terraform import -provider=google-beta google_game_services_game_server_deployment.default {{location}}/{{name}}

» User Project Overrides

This resource supports User Project Overrides.