Skip to content

Commit cf5e3f7

Browse files
committed
allow dynamic block in regions_config
1 parent 26d2183 commit cf5e3f7

File tree

3 files changed

+1
-40
lines changed

3 files changed

+1
-40
lines changed

internal/convert/convert.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const (
3737
)
3838

3939
var (
40-
dynamicBlockAllowList = []string{nTags, nLabels}
40+
dynamicBlockAllowList = []string{nTags, nLabels, nConfigSrc}
4141
)
4242

4343
type attrVals struct {

internal/convert/testdata/clu2adv/errors.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
"regions_config_out_of_range_priority": "setting priority: priority is 0 but must be between 1 and 7",
99
"regions_config_non_literal_priority": "setting priority: failed to evaluate number",
1010
"replication_specs_unsupported_dynamic": "dynamic blocks are not supported",
11-
"regions_config_unsupported_dynamic": "dynamic blocks are not supported",
1211
"replication_specs_non_literal_num_shards": "setting num_shards: failed to evaluate number",
1312
"replication_specs_missing_num_shards": "num_shards not found"
1413
}

internal/convert/testdata/clu2adv/regions_config_unsupported_dynamic.in.tf

Lines changed: 0 additions & 38 deletions
This file was deleted.

0 commit comments

Comments
 (0)