From 792724eec39f0a61956bf75f1c19f4b5dc4e8fe2 Mon Sep 17 00:00:00 2001 From: The Magician Date: Tue, 12 Mar 2024 07:24:07 -0700 Subject: [PATCH] Add data source for apphub discovered service (#10105) (#2041) * Add data source for apphub discovered service * Add data source for apphub discovered service' * Add data source for apphub discovered service * resolved comments * retry logic added * add tests and documentation * Corrected tests and added project field in the data source * changed id field * Added random_suffix for the resources created and enabled iam policy and compute api * modified retry logic * Modified schema for the data source, and tests * Removed IAM permission blocks * Add dependency for compute api * Resolve merge conflict * Add time sleep * Modified test function name * Shorten service project name * Add billing account * corrected get env variable function call * Modified project id * Combined time delay * Resolving comments * Remove retry logic and add time sleep for resource ingestion [upstream:922cc703a5cc9d371a1396bec930869be9d890e9] Signed-off-by: Modular Magician --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 6a338bfb2..9df0dcce4 100644 --- a/go.mod +++ b/go.mod @@ -11,7 +11,7 @@ require ( github.com/hashicorp/hcl/v2 v2.19.1 github.com/hashicorp/terraform-json v0.18.0 github.com/hashicorp/terraform-plugin-sdk/v2 v2.31.0 - github.com/hashicorp/terraform-provider-google-beta v1.20.1-0.20240311174539-633d25b39802 + github.com/hashicorp/terraform-provider-google-beta v1.20.1-0.20240312142019-dc3fe533912e github.com/mitchellh/go-homedir v1.1.0 // indirect github.com/pkg/errors v0.9.1 github.com/stretchr/testify v1.8.4 diff --git a/go.sum b/go.sum index 10e76fd76..ab368c31f 100644 --- a/go.sum +++ b/go.sum @@ -175,8 +175,8 @@ github.com/hashicorp/terraform-plugin-log v0.9.0/go.mod h1:rKL8egZQ/eXSyDqzLUuwU github.com/hashicorp/terraform-plugin-mux v0.13.0 h1:79U401/3nd8CWwDGtTHc8F3miSCAS9XGtVarxSTDgwA= github.com/hashicorp/terraform-plugin-sdk/v2 v2.31.0 h1:Bl3e2ei2j/Z3Hc2HIS15Gal2KMKyLAZ2om1HCEvK6es= github.com/hashicorp/terraform-plugin-sdk/v2 v2.31.0/go.mod h1:i2C41tszDjiWfziPQDL5R/f3Zp0gahXe5No/MIO9rCE= -github.com/hashicorp/terraform-provider-google-beta v1.20.1-0.20240311174539-633d25b39802 h1:7vEqgVYKPZKHJmC3bFQTKTsDIZ4mz3ZUl/5Wa6MM5l4= -github.com/hashicorp/terraform-provider-google-beta v1.20.1-0.20240311174539-633d25b39802/go.mod h1:xqktgz44XcXx24WFlm6lYZEri5YeyyFGL+qBamSShDc= +github.com/hashicorp/terraform-provider-google-beta v1.20.1-0.20240312142019-dc3fe533912e h1:8VZIcqk4cdubIiynXUb1abGgjkXx3E6fWpfnwYEVKqg= +github.com/hashicorp/terraform-provider-google-beta v1.20.1-0.20240312142019-dc3fe533912e/go.mod h1:xqktgz44XcXx24WFlm6lYZEri5YeyyFGL+qBamSShDc= github.com/hashicorp/terraform-registry-address v0.2.3 h1:2TAiKJ1A3MAkZlH1YI/aTVcLZRu7JseiXNRHbOAyoTI= github.com/hashicorp/terraform-registry-address v0.2.3/go.mod h1:lFHA76T8jfQteVfT7caREqguFrW3c4MFSPhZB7HHgUM= github.com/hashicorp/terraform-svchost v0.1.1 h1:EZZimZ1GxdqFRinZ1tpJwVxxt49xc/S52uzrw4x0jKQ=