You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: Takes electable_specs in TPF adv_cluster from state if it was in config (#3203)
* electableSpecs
* add test removing electable_specs
* Revert "add test removing electable_specs"
This reverts commit 296bca2.
* test: Enhance PlanChecks with specInstanceSizeNodeCount for read_only_specs and electable_specs
---------
Co-authored-by: Espen Albert <espen.albert@mongodb.com>
ifstateReadOnlySpecs!=nil { // read_only_specs is present in state
126
131
// logic below ensures that if read only specs is present in state but not in the plan, plan will be populated so that read only spec configuration is not removed on update operations
plancheck.ExpectUnknownValue(resourceName, regionConfig0.AtMapKey("analytics_specs")), // analytics specs was defined in region_configs.0 but not in region_configs.1
plancheck.ExpectUnknownValue(resourceName, regionConfig0.AtMapKey("analytics_specs")), // analytics specs was defined in region_configs.0 but not in region_configs.1
Copy file name to clipboardExpand all lines: internal/service/advancedclustertpf/testdata/ClusterTwoRepSpecsWithAutoScalingAndSpecs/main_removed_blocks_from_config_and_instance_change.tf
0 commit comments