From 29551928db941f10e942de924de3fea50ab1fb22 Mon Sep 17 00:00:00 2001 From: Riley Karson Date: Tue, 3 Sep 2019 10:45:13 -0700 Subject: [PATCH] Add note about metadata startup script import --- .../terraform/website/docs/r/compute_instance.html.markdown | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/third_party/terraform/website/docs/r/compute_instance.html.markdown b/third_party/terraform/website/docs/r/compute_instance.html.markdown index 791fd92699af..4a1351c8c2b6 100644 --- a/third_party/terraform/website/docs/r/compute_instance.html.markdown +++ b/third_party/terraform/website/docs/r/compute_instance.html.markdown @@ -106,6 +106,10 @@ The following arguments are supported: within the instance. Ssh keys attached in the Cloud Console will be removed. Add them to your config in order to keep them attached to your instance. +-> On import, `metadata_startup_script` will be set while +`metadata.startup-script` will not be. You'll need to match +`metadata_startup_script` to your `startup-script` value. + * `metadata_startup_script` - (Optional) An alternative to using the startup-script metadata key, except this one forces the instance to be recreated (thus re-running the script) if it is changed. This replaces the