Skip to content

Commit a6df286

Browse files
Update docs/command_adv2v2.md
Co-authored-by: lmkerbey-mdb <[email protected]>
1 parent 7fd7785 commit a6df286

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/command_adv2v2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ If you need to use the plugin for `dynamic` block use cases not yet supported, p
110110

111111
#### Combination of blocks with dynamic and inline expressions
112112

113-
Dynamic block and individual blocks for `region_configs` or `replication_specs` are not supported at the same time. The recommended way to handle this is to remove the individual `region_configs` or `replication_specs` blocks and use a local `list` variable with [concat](https://developer.hashicorp.com/terraform/language/functions/concat) to add the individual block information to the variable you're using in the `for_each` expression.
113+
Dynamic blocks and individual blocks for `region_configs` or `replication_specs` are not supported at the same time. Remove the individual `region_configs` or `replication_specs` blocks and use a local `list` variable with [concat](https://developer.hashicorp.com/terraform/language/functions/concat) to add the individual block information to the variable you're using in the `for_each` expression.
114114

115115
Let's see an example with `region_configs`, it is the same idea for `replication_specs`. In the original configuration file, the `mongodb_cluster` resource is used inside a module that receives the `region_configs` elements in a `list` variable and we want to add an additional `region_configs` with a read-only node.
116116
```hcl

0 commit comments

Comments
 (0)