Config

Example Usage

Example creating a RuntimeConfig resource.

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.runtimeconfig.Config;
import com.pulumi.gcp.runtimeconfig.ConfigArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var my_runtime_config = new Config("my-runtime-config", ConfigArgs.builder()
.description("Runtime configuration values for my service")
.build());
}
}

Import

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

$ pulumi import gcp:runtimeconfig/config:Config myconfig myconfig
$ pulumi import gcp:runtimeconfig/config:Config myconfig projects/my-gcp-project/configs/myconfig

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

Properties

Link copied to clipboard
val description: Output<String>?

The description to associate with the runtime config.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

The name of the runtime config.

Link copied to clipboard
val project: Output<String>

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

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val urn: Output<String>