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
fix: Adjust update operation to make use of Plan model over Config model (#3136)
* Adjust update operation to make use of Plan model over Config model
* TEMPORARY: comment out mocked acceptance tests
* comment out logic related to reducing unknown values in plan modifier for replication specs
* Revert "TEMPORARY: comment out mocked acceptance tests"
This reverts commit 4f2700c.
* fix mocked acceptance tests
* adjusting auto-scaling test to verify patch request does not include ingored attributes
* Revert "comment out logic related to reducing unknown values in plan modifier for replication specs"
This reverts commit 34427e6.
* commend out code but leave all implementation code
* Update internal/service/advancedcluster/resource_advanced_cluster_test.go
Co-authored-by: Leo Antoli <[email protected]>
---------
Co-authored-by: Leo Antoli <[email protected]>
acc.TestCheckResourceAttrPreviewProviderV2(true, resourceName, "replication_specs.0.region_configs.0.electable_specs.0.instance_size", "M10"), // modified instance size in config is ignored
532
+
acc.TestCheckResourceAttrPreviewProviderV2(true, resourceName, "replication_specs.0.region_configs.0.electable_specs.0.disk_size_gb", "10"), // modified disk size gb in config is ignored
Copy file name to clipboardExpand all lines: internal/service/advancedcluster/testdata/TestAccMockableAdvancedCluster_shardedAddAnalyticsAndAutoScaling.yaml
Copy file name to clipboardExpand all lines: internal/service/advancedcluster/testdata/TestAccMockableAdvancedCluster_shardedAddAnalyticsAndAutoScaling/02_01_PATCH__api_atlas_v2_groups_{groupId}_clusters_{clusterName}_2024-10-23.json
0 commit comments