@@ -675,7 +675,9 @@ func checkSingleProvider(projectID, name string) resource.TestCheckFunc {
675
675
"name" : name },
676
676
resource .TestCheckResourceAttr (resourceName , "retain_backups_enabled" , "true" ),
677
677
resource .TestCheckResourceAttrWith (resourceName , "replication_specs.0.region_configs.0.electable_specs.0.disk_iops" , acc .IntGreatThan (0 )),
678
- resource .TestCheckResourceAttrWith (dataSourceName , "replication_specs.0.region_configs.0.electable_specs.0.disk_iops" , acc .IntGreatThan (0 )))
678
+ resource .TestCheckResourceAttrWith (resourceName , "replication_specs.0.region_configs.0.analytics_specs.0.disk_iops" , acc .IntGreatThan (0 )),
679
+ resource .TestCheckResourceAttrWith (dataSourceName , "replication_specs.0.region_configs.0.electable_specs.0.disk_iops" , acc .IntGreatThan (0 )),
680
+ resource .TestCheckResourceAttrWith (dataSourceName , "replication_specs.0.region_configs.0.analytics_specs.0.disk_iops" , acc .IntGreatThan (0 )))
679
681
}
680
682
681
683
func configIncorrectTypeGobalClusterSelfManagedSharding (projectID , name string ) string {
@@ -830,7 +832,13 @@ func checkMultiCloudSharded(name string) resource.TestCheckFunc {
830
832
return checkAggr (
831
833
[]string {"project_id" , "replication_specs.#" , "replication_specs.0.region_configs.#" },
832
834
map [string ]string {
833
- "name" : name })
835
+ "name" : name },
836
+ resource .TestCheckResourceAttrWith (resourceName , "replication_specs.0.region_configs.0.electable_specs.0.disk_iops" , acc .IntGreatThan (0 )),
837
+ resource .TestCheckResourceAttrWith (resourceName , "replication_specs.0.region_configs.0.analytics_specs.0.disk_iops" , acc .IntGreatThan (0 )),
838
+ resource .TestCheckResourceAttrWith (resourceName , "replication_specs.0.region_configs.1.electable_specs.0.disk_iops" , acc .IntGreatThan (0 )),
839
+ resource .TestCheckResourceAttrWith (dataSourceName , "replication_specs.0.region_configs.0.electable_specs.0.disk_iops" , acc .IntGreatThan (0 )),
840
+ resource .TestCheckResourceAttrWith (dataSourceName , "replication_specs.0.region_configs.0.analytics_specs.0.disk_iops" , acc .IntGreatThan (0 )),
841
+ resource .TestCheckResourceAttrWith (dataSourceName , "replication_specs.0.region_configs.1.electable_specs.0.disk_iops" , acc .IntGreatThan (0 )))
834
842
}
835
843
836
844
func configSingleProviderPaused (projectID , clusterName string , paused bool , instanceSize string ) string {
0 commit comments