Skip to content

Commit c6dc2a6

Browse files
Revert "Fix google_dns_managed_zone update" (#12976) (#3409)
[upstream:15606f551d2ef7964adb84f69504885d96172887] Signed-off-by: Modular Magician <[email protected]>
1 parent 6587c01 commit c6dc2a6

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ require (
1111
github.com/hashicorp/hcl/v2 v2.20.1
1212
github.com/hashicorp/terraform-json v0.22.1
1313
github.com/hashicorp/terraform-plugin-sdk/v2 v2.33.0
14-
github.com/hashicorp/terraform-provider-google-beta v1.20.1-0.20250205212117-7c16650d6985
14+
github.com/hashicorp/terraform-provider-google-beta v1.20.1-0.20250205222343-b64d45662d8f
1515
github.com/mitchellh/go-homedir v1.1.0 // indirect
1616
github.com/pkg/errors v0.9.1
1717
github.com/stretchr/testify v1.9.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,8 @@ github.com/hashicorp/terraform-plugin-sdk/v2 v2.33.0 h1:qHprzXy/As0rxedphECBEQAh
172172
github.com/hashicorp/terraform-plugin-sdk/v2 v2.33.0/go.mod h1:H+8tjs9TjV2w57QFVSMBQacf8k/E1XwLXGCARgViC6A=
173173
github.com/hashicorp/terraform-plugin-testing v1.5.1 h1:T4aQh9JAhmWo4+t1A7x+rnxAJHCDIYW9kXyo4sVO92c=
174174
github.com/hashicorp/terraform-plugin-testing v1.5.1/go.mod h1:dg8clO6K59rZ8w9EshBmDp1CxTIPu3yA4iaDpX1h5u0=
175-
github.com/hashicorp/terraform-provider-google-beta v1.20.1-0.20250205212117-7c16650d6985 h1:4zYolVM8jifHuOTxf6l0OBomICJxaDfcGPtWPcx5v7w=
176-
github.com/hashicorp/terraform-provider-google-beta v1.20.1-0.20250205212117-7c16650d6985/go.mod h1:IkJf/cFmSb0kvMORnXqL/PqiMSLMSAuOKHzH60Fea58=
175+
github.com/hashicorp/terraform-provider-google-beta v1.20.1-0.20250205222343-b64d45662d8f h1:kPRt01hpKXdfb0siIiPPuE+zFri4nzRgEg/x/p4OpYI=
176+
github.com/hashicorp/terraform-provider-google-beta v1.20.1-0.20250205222343-b64d45662d8f/go.mod h1:IkJf/cFmSb0kvMORnXqL/PqiMSLMSAuOKHzH60Fea58=
177177
github.com/hashicorp/terraform-registry-address v0.2.3 h1:2TAiKJ1A3MAkZlH1YI/aTVcLZRu7JseiXNRHbOAyoTI=
178178
github.com/hashicorp/terraform-registry-address v0.2.3/go.mod h1:lFHA76T8jfQteVfT7caREqguFrW3c4MFSPhZB7HHgUM=
179179
github.com/hashicorp/terraform-svchost v0.1.1 h1:EZZimZ1GxdqFRinZ1tpJwVxxt49xc/S52uzrw4x0jKQ=

tfplan2cai/converters/google/resources/services/dns/dns_managed_zone.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -512,8 +512,7 @@ func expandDNSManagedZoneServiceDirectoryConfigNamespaceNamespaceUrl(v interface
512512
} else if strings.HasPrefix(v.(string), "https://") {
513513
return v, nil
514514
}
515-
// v1 is the only version in use
516-
url, err := tpgresource.ReplaceVars(d, config, "https://servicedirectory.googleapis.com/v1/"+v.(string))
515+
url, err := tpgresource.ReplaceVars(d, config, "{{ServiceDirectoryBasePath}}"+v.(string))
517516
if err != nil {
518517
return "", err
519518
}

0 commit comments

Comments
 (0)