Google Game Servers Game Services Realm

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

google_game_services_realm (Terraform)

The Game Services Realm in Game Servers can be configured in Terraform with the resource name google_game_services_realm. The following sections describe 3 examples of how to use the resource and its parameters.

Example Usage from GitHub

main.tf#L36
resource "google_game_services_realm" "us" {
  project  = var.project

  realm_id  = "united-states"
  time_zone = "PST8PDT"
  location  = "global"
main.tf#L36
resource "google_game_services_realm" "us" {
  project  = var.project

  realm_id  = "united-states"
  time_zone = "PST8PDT"
  location  = "global"
realm.tf#L1
resource "google_game_services_realm" "us" {
  realm_id  = "united-states"
  time_zone = "PST8PDT"
  location  = "global"

  description = "US Game Players"

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

Human readable description of the realm.

  • etag optional computed - string

ETag of the resource.

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

The labels associated with this realm. Each label is a key-value pair.

Location of the Realm.

  • name optional computed - 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'.

GCP region of the Realm.

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.

Explanation in Terraform Registry

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

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.

security-icon

Automate config file reviews on your commits

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