Google Game Servers Game Services Realm

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

code-icon

Fix issues in your cloud & app configurations

Test for misconfigurations of this resource in your cloud.

get-started-button

Terraform Example (google_game_services_realm)

A Realm resource. To get more information about Realm, see:

Parameters

  • description optional - string
    • Human readable description of the realm.

  • etag requiredcomputed - string
    • ETag of the resource.

  • id optionalcomputed - string
  • labels optional - map / string
    • The labels associated with this realm. Each label is a key-value pair.

  • location optional - string
    • Location of the Realm.

  • name requiredcomputed - string
    • The resource id of the realm, of the form: 'projects/{project_id}/locations/{location}/realms/{realm_id}'. For example, 'projects/my-project/locations/{location}/realms/my-realm'.

  • project optionalcomputed - string
  • realm_id required - string
    • GCP region of the Realm.

  • time_zone required - string
    • Required. Time zone where all realm-specific policies are evaluated. The value of this field must be from the IANA time zone database: https://www.iana.org/time-zones.

Example Usage (from GitHub)

github-iconzaratsian/game-serving-architecture
resource "google_game_services_realm" "us" {
  project  = var.project

  realm_id  = "united-states"
  time_zone = "PST8PDT"
  location  = "global"
github-icongoogleforgames/cloud-game-servers-examples
resource "google_game_services_realm" "us" {
  project  = var.project

  realm_id  = "united-states"
  time_zone = "PST8PDT"
  location  = "global"
github-iconFairwindsOps/agones-demo
resource "google_game_services_realm" "us" {
  realm_id  = "united-states"
  time_zone = "PST8PDT"
  location  = "global"

  description = "US Game Players"

Frequently asked questions

What is Google Game Servers Game Services Realm?

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

For Terraform, the zaratsian/game-serving-architecture, googleforgames/cloud-game-servers-examples and FairwindsOps/agones-demo source code examples are useful. See the Terraform Example section for further details.