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
resource "google_runtimeconfig_config" "runtime_config" {
name = var.runtime_config_name
description = "Runtime configuration values for cloud functions"
depends_on = [google_project_service.services]
}
resource "google_runtimeconfig_config" "this" {
description = var.description
name = var.name
project = var.project
}
resource "google_runtimeconfig_config" "mlisa" {
name = var.deployment_name
}
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.
The name of the runtime config.
-
project
optional computed - 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:
- API documentation
- How-to Guides
- Runtime Configurator Fundamentals
Warning: This resource is in beta, and should be used with the terraform-provider-google-beta provider. See Provider Versions for more details on beta resources.
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.