From 1211a0eaaa927eeadb6937105a582cf4e5a0d26d Mon Sep 17 00:00:00 2001 From: The Magician Date: Fri, 16 Aug 2019 14:47:22 -0700 Subject: [PATCH] use real project id for uptime check generated test (#1062) Signed-off-by: Modular Magician --- .../resource_monitoring_uptime_check_config_generated_test.go | 3 ++- website/docs/r/monitoring_uptime_check_config.html.markdown | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/google-beta/resource_monitoring_uptime_check_config_generated_test.go b/google-beta/resource_monitoring_uptime_check_config_generated_test.go index 38d73e3561c..d984e136f10 100644 --- a/google-beta/resource_monitoring_uptime_check_config_generated_test.go +++ b/google-beta/resource_monitoring_uptime_check_config_generated_test.go @@ -28,6 +28,7 @@ func TestAccMonitoringUptimeCheckConfig_uptimeCheckConfigHttpExample(t *testing. t.Parallel() context := map[string]interface{}{ + "project_id": getTestProjectFromEnv(), "random_suffix": acctest.RandString(10), } @@ -62,7 +63,7 @@ resource "google_monitoring_uptime_check_config" "http" { monitored_resource { type = "uptime_url" labels = { - project_id = "example" + project_id = "%{project_id}" host = "192.168.1.1" } } diff --git a/website/docs/r/monitoring_uptime_check_config.html.markdown b/website/docs/r/monitoring_uptime_check_config.html.markdown index f1e33ce5ea2..f7ac6f49a44 100644 --- a/website/docs/r/monitoring_uptime_check_config.html.markdown +++ b/website/docs/r/monitoring_uptime_check_config.html.markdown @@ -51,7 +51,7 @@ resource "google_monitoring_uptime_check_config" "http" { monitored_resource { type = "uptime_url" labels = { - project_id = "example" + project_id = "my-project-name" host = "192.168.1.1" } }