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
resource "google_game_services_realm" "us" {
project = var.project
realm_id = "united-states"
time_zone = "PST8PDT"
location = "global"
resource "google_game_services_realm" "us" {
project = var.project
realm_id = "united-states"
time_zone = "PST8PDT"
location = "global"
resource "google_game_services_realm" "us" {
realm_id = "united-states"
time_zone = "PST8PDT"
location = "global"
description = "US Game Players"
Parameters
-
description
optional - string
Human readable description of the realm.
-
etag
optional computed - string
ETag of the resource.
The labels associated with this realm. Each label is a key-value pair.
-
location
optional - string
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.
-
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.
Explanation in Terraform Registry
A Realm resource. To get more information about Realm, see:
- API documentation
- How-to Guides
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.