Skip to content

googleGameServicesRealm

A Realm resource.

To get more information about Realm, see:

Example Usage - Game Service Realm Basic

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as google from "./.gen/providers/google";
/*The following providers are missing schema information and might need manual adjustments to synthesize correctly: google.
For a more precise conversion please use the --provider flag in convert.*/
new google.gameServicesRealm.GameServicesRealm(this, "default", {
  description: "one of the nine",
  location: "global",
  realm_id: "tf-test-realm",
  time_zone: "EST",
});

Argument Reference

The following arguments are supported:

  • timeZone - (Required) 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.

  • realmId - (Required) GCP region of the Realm.


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

  • description - (Optional) Human readable description of the realm.

  • location - (Optional) Location of the Realm.

  • 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}}/realms/{{realmId}}

  • name - The resource id of the realm, of the form: projects/{projectId}/locations/{location}/realms/{realmId}. For example, projects/myProject/locations/{location}/realms/myRealm.

  • etag - ETag of the resource.

Timeouts

This resource provides the following Timeouts configuration options:

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

Import

Realm can be imported using any of these accepted formats:

$ terraform import google_game_services_realm.default projects/{{project}}/locations/{{location}}/realms/{{realm_id}}
$ terraform import google_game_services_realm.default {{project}}/{{location}}/{{realm_id}}
$ terraform import google_game_services_realm.default {{location}}/{{realm_id}}

User Project Overrides

This resource supports User Project Overrides.