google_runtimeconfig_config

Manages a RuntimeConfig resource in Google Cloud.

To get more information about RuntimeConfigs, see:

Example Usage

Example creating a RuntimeConfig resource.

resource "google_runtimeconfig_config" "my-runtime-config" {
  name        = "my-service-runtime-config"
  description = "Runtime configuration values for my service"
}

Argument Reference

The following arguments are supported:


Attributes Reference

In addition to the arguments listed above, the following computed attributes are exported:

Import

Runtime Configs can be imported using the name or full config name, e.g.

In Terraform v1.5.0 and later, use an import block to import Runtime Configs using one of the formats above. For example:

import {
  id = "projects/{{project_id}}/configs/{{name}}"
  to = google_runtimeconfig_config.default
}

When using the terraform import command, Runtime Configs can be imported using one of the formats above. For example:

$ terraform import google_runtimeconfig_config.default projects/{{project_id}}/configs/{{name}}
$ terraform import google_runtimeconfig_config.default {{name}}

When importing using only the name, the provider project must be set.