From 99dae617379bd4a9e21cedb1d2648b82ddb57569 Mon Sep 17 00:00:00 2001 From: The Magician Date: Fri, 1 Oct 2021 14:17:38 -0700 Subject: [PATCH] correct example of apigee envgroup assignment (#5258) (#10230) apigee_environment_group_attachment_basic_test.tf.erb correctly shows that one needs to use the envgroup _id_ when creating an attachment but apigee_environment_group_attachment_basic.tf.erb incorrectly shows the name. Signed-off-by: Modular Magician --- .changelog/5258.txt | 3 +++ website/docs/r/apigee_envgroup_attachment.html.markdown | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 .changelog/5258.txt diff --git a/.changelog/5258.txt b/.changelog/5258.txt new file mode 100644 index 00000000000..8ec013c0699 --- /dev/null +++ b/.changelog/5258.txt @@ -0,0 +1,3 @@ +```release-note:none + +``` diff --git a/website/docs/r/apigee_envgroup_attachment.html.markdown b/website/docs/r/apigee_envgroup_attachment.html.markdown index d8115940d88..bba3faa8916 100644 --- a/website/docs/r/apigee_envgroup_attachment.html.markdown +++ b/website/docs/r/apigee_envgroup_attachment.html.markdown @@ -103,7 +103,7 @@ resource "google_apigee_environment" "apigee_env" { } resource "google_apigee_envgroup_attachment" "" { - envgroup_id = google_apigee_envgroup.apigee_envgroup.name + envgroup_id = google_apigee_envgroup.apigee_envgroup.id environment = google_apigee_environment.apigee_env.name } ```