Skip to content

Commit

Permalink
fix force new
Browse files Browse the repository at this point in the history
  • Loading branch information
absolutelightning committed Sep 26, 2023
1 parent 282c9ad commit bfb32f1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion consul/resource_consul_service_splitter_config_entry.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ const KindServiceSplitter = "service-splitter"
var serviceSplitterConfigEntrySchema = map[string]*schema.Schema{
"name": {
Type: schema.TypeString,
Optional: true,
Required: true,
ForceNew: true,
},
"kind": {
Type: schema.TypeString,
Expand All @@ -27,10 +28,12 @@ var serviceSplitterConfigEntrySchema = map[string]*schema.Schema{
"partition": {
Type: schema.TypeString,
Optional: true,
ForceNew: true,
},
"namespace": {
Type: schema.TypeString,
Optional: true,
ForceNew: true,
},
"meta": {
Type: schema.TypeMap,
Expand Down

0 comments on commit bfb32f1

Please sign in to comment.