Skip to content

Commit d9d2916

Browse files
committed
[index] Remove primary shards default so templates can specify.
1 parent 420462a commit d9d2916

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

es/resource_elasticsearch_index.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ var (
9494
Type: schema.TypeString,
9595
Description: "Number of shards for the index. This can be set only on creation.",
9696
ForceNew: true,
97-
Default: "1",
9897
Optional: true,
98+
Computed: true,
9999
},
100100
"routing_partition_size": {
101101
Type: schema.TypeString,

0 commit comments

Comments
 (0)