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" {

Parameters

  • description optional - string
    • The description to associate with the runtime config.

  • id optionalcomputed - string
  • name required - string
    • The name of the runtime config.

  • project optionalcomputed - string
    • 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

Scan your IaC problem in 3 minutes for free

You can keep your IaC security for free. No credit card required.