Skip to content

Commit

Permalink
Upgrade DCL 1.50.0 (#8743) (#15604)
Browse files Browse the repository at this point in the history
* Upgrade DCL 1.50.0

* Add gkehub GA override

* Promote tests to ga

* Fix tests

Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Aug 23, 2023
1 parent ad74136 commit 9a2b54f
Show file tree
Hide file tree
Showing 9 changed files with 2,189 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .changelog/8743.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:enhancement
gkehub: promoted the `google_gke_hub_feature_membership` resource to GA
```
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ go 1.19

require (
cloud.google.com/go/bigtable v1.19.0
github.com/GoogleCloudPlatform/declarative-resource-client-library v1.49.0
github.com/GoogleCloudPlatform/declarative-resource-client-library v1.50.0
github.com/apparentlymart/go-cidr v1.1.0
github.com/davecgh/go-spew v1.1.1
github.com/dnaeon/go-vcr v1.0.1
Expand Down
6 changes: 2 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,8 @@ cloud.google.com/go/iam v1.1.0/go.mod h1:nxdHjaKfCr7fNYx/HJMM8LgiMugmveWlkatear5
cloud.google.com/go/longrunning v0.5.1 h1:Fr7TXftcqTudoyRJa113hyaqlGdiBQkp0Gq7tErFDWI=
cloud.google.com/go/longrunning v0.5.1/go.mod h1:spvimkwdz6SPWKEt/XBij79E9fiTkHSQl/fRUUQJYJc=
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/GoogleCloudPlatform/declarative-resource-client-library v1.48.0 h1:+1lMwM8ZN8IGqYnSn2qh3Kb0fBBf9SwB+7yPBtcpNsM=
github.com/GoogleCloudPlatform/declarative-resource-client-library v1.48.0/go.mod h1:pL2Qt5HT+x6xrTd806oMiM3awW6kNIXB/iiuClz6m6k=
github.com/GoogleCloudPlatform/declarative-resource-client-library v1.49.0 h1:XvQtlNIEx3wMIXa+eymDIqYO5gvjYoMsi3XF2fblKmM=
github.com/GoogleCloudPlatform/declarative-resource-client-library v1.49.0/go.mod h1:pL2Qt5HT+x6xrTd806oMiM3awW6kNIXB/iiuClz6m6k=
github.com/GoogleCloudPlatform/declarative-resource-client-library v1.50.0 h1:tsuB2FrGmDXIPUdhRD6YdUuvIzAly6+RYpyRkKWwk9E=
github.com/GoogleCloudPlatform/declarative-resource-client-library v1.50.0/go.mod h1:pL2Qt5HT+x6xrTd806oMiM3awW6kNIXB/iiuClz6m6k=
github.com/Microsoft/go-winio v0.4.14/go.mod h1:qXqCSQ3Xa7+6tgxaGTIe4Kpcdsi+P8jBhyzoq1bpyYA=
github.com/Microsoft/go-winio v0.4.16 h1:FtSW/jqD+l4ba5iPBj9CODVtgfYAD8w2wS923g/cFDk=
github.com/Microsoft/go-winio v0.4.16/go.mod h1:XB6nPKklQyQ7GC9LdcBEcBl8PF76WugXOPRXwdLnMv0=
Expand Down
2 changes: 2 additions & 0 deletions google/fwmodels/provider_model.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ type ProviderModel struct {
FirebaserulesCustomEndpoint types.String `tfsdk:"firebaserules_custom_endpoint"`
OrgPolicyCustomEndpoint types.String `tfsdk:"org_policy_custom_endpoint"`
RecaptchaEnterpriseCustomEndpoint types.String `tfsdk:"recaptcha_enterprise_custom_endpoint"`

GkehubFeatureCustomEndpoint types.String `tfsdk:"gkehub_feature_custom_endpoint"`
}

type ProviderBatching struct {
Expand Down
2 changes: 2 additions & 0 deletions google/provider/provider_dcl_resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ import (
"github.com/hashicorp/terraform-provider-google/google/services/dataproc"
"github.com/hashicorp/terraform-provider-google/google/services/eventarc"
"github.com/hashicorp/terraform-provider-google/google/services/firebaserules"
"github.com/hashicorp/terraform-provider-google/google/services/gkehub"
"github.com/hashicorp/terraform-provider-google/google/services/networkconnectivity"
"github.com/hashicorp/terraform-provider-google/google/services/orgpolicy"
"github.com/hashicorp/terraform-provider-google/google/services/privateca"
Expand Down Expand Up @@ -71,6 +72,7 @@ var dclResources = map[string]*schema.Resource{
"google_eventarc_trigger": eventarc.ResourceEventarcTrigger(),
"google_firebaserules_release": firebaserules.ResourceFirebaserulesRelease(),
"google_firebaserules_ruleset": firebaserules.ResourceFirebaserulesRuleset(),
"google_gke_hub_feature_membership": gkehub.ResourceGkeHubFeatureMembership(),
"google_network_connectivity_hub": networkconnectivity.ResourceNetworkConnectivityHub(),
"google_network_connectivity_spoke": networkconnectivity.ResourceNetworkConnectivitySpoke(),
"google_org_policy_policy": orgpolicy.ResourceOrgPolicyPolicy(),
Expand Down
Loading

0 comments on commit 9a2b54f

Please sign in to comment.