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.
This commit is contained in:
Dana Hoffman 2018-09-12 17:37:07 -04:00 committed by GitHub
parent f1bd5029af
commit 8ca3c930b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}}
```
```
~> **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.