From d32a4858f85c122ee0ae4614f50740e36b70bb04 Mon Sep 17 00:00:00 2001 From: Cornelius Diekmann <diekmann@google.com> Date: Fri, 16 Jul 2021 10:14:22 +0200 Subject: [PATCH] Be explicit that ephemeral IP is a public IP. Attaching a VM with a public IP to the Internet can pose a security risk. A public IP should only be assigned if this is desired. Many things work without public IPs (for example, via the Identity-Aware Proxy). This tiny addition to the example config makes it more obvious that the innocent-looking empty config block gives us a public IP here. --- .../terraform/website/docs/r/compute_instance.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mmv1/third_party/terraform/website/docs/r/compute_instance.html.markdown b/mmv1/third_party/terraform/website/docs/r/compute_instance.html.markdown index fdc78698858c..56a99b9af7ed 100644 --- a/mmv1/third_party/terraform/website/docs/r/compute_instance.html.markdown +++ b/mmv1/third_party/terraform/website/docs/r/compute_instance.html.markdown @@ -44,7 +44,7 @@ resource "google_compute_instance" "default" { network = "default" access_config { - // Ephemeral IP + // Ephemeral public IP } }