From 6fc6274d55a3dbe88537f084f89a722b490abfef Mon Sep 17 00:00:00 2001 From: Nathan McKinley Date: Tue, 1 Oct 2019 19:39:40 +0000 Subject: [PATCH] Deprecate project_services in 2.x. Signed-off-by: Modular Magician --- google-beta/resource_google_project_services.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/google-beta/resource_google_project_services.go b/google-beta/resource_google_project_services.go index 2191e2a9e7..0141f64c78 100644 --- a/google-beta/resource_google_project_services.go +++ b/google-beta/resource_google_project_services.go @@ -28,6 +28,10 @@ func resourceGoogleProjectServices() *schema.Resource { Importer: &schema.ResourceImporter{ State: schema.ImportStatePassthrough, }, + DeprecationMessage: "google_project_services is deprecated - many users reported " + + "issues with dependent services that were not resolvable. Please use google_project_service or the " + + "https://github.com/terraform-google-modules/terraform-google-project-factory/tree/master/modules/project_services" + + " module. This resource will be removed in version 3.0.0.", Timeouts: &schema.ResourceTimeout{ Create: schema.DefaultTimeout(20 * time.Minute),