From 8ca3c930b8dba8f1a0c09deeb21b752e4faa2dfa Mon Sep 17 00:00:00 2001 From: Dana Hoffman Date: Wed, 12 Sep 2018 17:37:07 -0400 Subject: [PATCH] add warning about imports to sql database instance (#2030) Fixes #1998. This just does it for the one resource, but I filed https://github.com/GoogleCloudPlatform/magic-modules/issues/452 to do it for all our generated ones. --- website/docs/r/sql_database_instance.html.markdown | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/website/docs/r/sql_database_instance.html.markdown b/website/docs/r/sql_database_instance.html.markdown index 4ecfac70..e1f3df06 100644 --- a/website/docs/r/sql_database_instance.html.markdown +++ b/website/docs/r/sql_database_instance.html.markdown @@ -320,4 +320,9 @@ $ terraform import google_sql_database_instance.master projects/{{project}}/inst $ terraform import google_sql_database_instance.master {{project}}/{{name}} $ terraform import google_sql_database_instance.master {{name}} -``` \ No newline at end of file +``` + +~> **NOTE:** Some fields (such as `replica_configuration`) won't show a diff if they are unset in +config and set on the server. +When importing, double-check that your config has all the fields set that you expect- just seeing +no diff isn't sufficient to know that your config could reproduce the imported resource.