From 25e1610417b93b91f7a3a60a3c9301b541ea0357 Mon Sep 17 00:00:00 2001 From: Mikael Gibert Date: Fri, 14 Sep 2018 15:17:10 +0200 Subject: [PATCH] Update documentation --- website/docs/r/runtimeconfig_config.html.markdown | 12 ++++++++++++ website/docs/r/runtimeconfig_variable.html.markdown | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/website/docs/r/runtimeconfig_config.html.markdown b/website/docs/r/runtimeconfig_config.html.markdown index 012f85ca..df7db89b 100644 --- a/website/docs/r/runtimeconfig_config.html.markdown +++ b/website/docs/r/runtimeconfig_config.html.markdown @@ -37,3 +37,15 @@ is not provided, the provider project is used. * `description` - (Optional) The description to associate with the runtime config. + +## Import + +Runtime Configs can be imported using the `name` or full config name, e.g. + +``` +$ terraform import google_runtimeconfig_config.myconfig myconfig +``` +``` +$ terraform import google_runtimeconfig_config.myconfig projects/my-gcp-project/configs/myconfig +``` +When importing using only the name, the provider project must be set. diff --git a/website/docs/r/runtimeconfig_variable.html.markdown b/website/docs/r/runtimeconfig_variable.html.markdown index 053a9ac9..3de5392a 100644 --- a/website/docs/r/runtimeconfig_variable.html.markdown +++ b/website/docs/r/runtimeconfig_variable.html.markdown @@ -76,3 +76,15 @@ exported: * `update_time` - (Computed) The timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds, representing when the variable was last updated. Example: "2016-10-09T12:33:37.578138407Z". + +## Import + +Runtime Config Variables can be imported using the `name` or full variable name, e.g. + +``` +$ terraform import google_runtimeconfig_variable.myvariable myconfig/myvariable +``` +``` +$ terraform import google_runtimeconfig_variable.myvariable projects/my-gcp-project/configs/myconfig/variables/myvariable +``` +When importing using only the name, the provider project must be set.