Google Runtime Configurator Config

This page shows how to write Terraform for Runtime Configurator Config and write them securely.

google_runtimeconfig_config (Terraform)

The Config in Runtime Configurator can be configured in Terraform with the resource name google_runtimeconfig_config. The following sections describe 4 examples of how to use the resource and its parameters.

Example Usage from GitHub

runtime_config.tf#L1
resource "google_runtimeconfig_config" "runtime_config" {
  name        = var.runtime_config_name
  description = "Runtime configuration values for cloud functions"

  depends_on = [google_project_service.services]
}
main.tf#L7
resource "google_runtimeconfig_config" "this" {
  description = var.description
  name        = var.name
  project     = var.project
}

main.tf#L11
resource "google_runtimeconfig_config" "mlisa" {
  name = var.deployment_name
}
main.tf#L15
resource "google_runtimeconfig_config" "fs_config" {
  provider = google-beta
  name     = format("%s-%s", local.prefix, "fs-config")
}

resource "google_runtimeconfig_config" "role_config" {

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

The description to associate with the runtime config.

  • id optional computed - string
  • name required - string

The name of the runtime config.

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

Explanation in Terraform Registry

Manages a RuntimeConfig resource in Google Cloud. To get more information about RuntimeConfigs, see:

Frequently asked questions

What is Google Runtime Configurator Config?

Google Runtime Configurator Config is a resource for Runtime Configurator of Google Cloud Platform. Settings can be wrote in Terraform.

Where can I find the example code for the Google Runtime Configurator Config?

For Terraform, the sbogomolov/xbrowsersync-gcf-terraform, niveklabs/google and hd-rk/tf 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.