Skip to content

Commit

Permalink
fix failure on updating service (#5256) (#3683)
Browse files Browse the repository at this point in the history
Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Sep 30, 2021
1 parent b5e4def commit c811d54
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .changelog/5256.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
servicedirectory: marked `service` on `google_service_directory_endpoint` as ForceNew to trigger recreates on changes
```
2 changes: 1 addition & 1 deletion google-beta/resource_gke_hub_feature_membership_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"testing"

dcl "github.com/GoogleCloudPlatform/declarative-resource-client-library/dcl"
"github.com/GoogleCloudPlatform/declarative-resource-client-library/dcl"
gkehub "github.com/GoogleCloudPlatform/declarative-resource-client-library/services/google/gkehub/beta"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
Expand Down
1 change: 1 addition & 0 deletions google-beta/resource_service_directory_endpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ lowercase letters or the hyphen character.`,
"service": {
Type: schema.TypeString,
Required: true,
ForceNew: true,
Description: `The resource name of the service that this endpoint provides.`,
},
"address": {
Expand Down

0 comments on commit c811d54

Please sign in to comment.