Skip to content

Commit

Permalink
Test config update (#454)
Browse files Browse the repository at this point in the history
* tests update

* removing provider_disk_iops from tests code
  • Loading branch information
leofigy authored May 11, 2021
1 parent 1a26462 commit 221ee96
Show file tree
Hide file tree
Showing 17 changed files with 1 addition and 35 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ func testAccMongoDBAtlasDataSourceCloudProviderSnapshotBackupPolicyConfig(projec
provider_region_name = "EU_CENTRAL_1"
provider_instance_size_name = "M10"
provider_backup_enabled = true //enable cloud provider snapshots
provider_disk_iops = 100
provider_encrypt_ebs_volume = false
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ func testAccMongoDBAtlasDataSourceCloudProviderSnapshotRestoreJobConfig(projectI
provider_region_name = "US_EAST_1"
provider_instance_size_name = "M10"
provider_backup_enabled = true //enable cloud provider snapshots
provider_disk_iops = 100
provider_encrypt_ebs_volume = false
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ func testAccMongoDBAtlasCloudProviderSnapshotRestoreJobsConfig(projectID, cluste
provider_region_name = "EU_CENTRAL_1"
provider_instance_size_name = "M10"
provider_backup_enabled = true //enable cloud provider snapshots
provider_disk_iops = 100
provider_encrypt_ebs_volume = false
}
Expand Down Expand Up @@ -115,7 +114,6 @@ func testAccMongoDBAtlasCloudProviderSnapshotRestoreJobsConfigWithPagination(pro
provider_region_name = "EU_CENTRAL_1"
provider_instance_size_name = "M10"
provider_backup_enabled = true //enable cloud provider snapshots
provider_disk_iops = 100
provider_encrypt_ebs_volume = false
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ func testAccMongoDBAtlasDataSourceCloudProviderSnapshotConfig(projectID, cluster
provider_region_name = "US_EAST_2"
provider_instance_size_name = "M10"
provider_backup_enabled = true //enable cloud provider snapshots
provider_disk_iops = 100
provider_encrypt_ebs_volume = false
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ func testAccMongoDBAtlasDataSourceCloudProviderSnapshotsConfig(projectID, cluste
provider_region_name = "EU_CENTRAL_1"
provider_instance_size_name = "M10"
provider_backup_enabled = true //enable cloud provider snapshots
provider_disk_iops = 100
provider_encrypt_ebs_volume = false
}
Expand Down Expand Up @@ -101,7 +100,6 @@ func testAccMongoDBAtlasDataSourceCloudProviderSnapshotsConfigWithPagination(pro
provider_region_name = "EU_CENTRAL_1"
provider_instance_size_name = "M10"
provider_backup_enabled = true //enable cloud provider snapshots
provider_disk_iops = 100
provider_encrypt_ebs_volume = false
}
Expand Down
1 change: 0 additions & 1 deletion mongodbatlas/data_source_mongodbatlas_cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ func testAccDataSourceMongoDBAtlasClusterConfig(projectID, name, backupEnabled s
// Provider Settings "block"
provider_name = "AWS"
provider_disk_iops = 300
provider_encrypt_ebs_volume = false
provider_instance_size_name = "M40"
provider_region_name = "US_EAST_2"
Expand Down
1 change: 0 additions & 1 deletion mongodbatlas/data_source_mongodbatlas_clusters_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ func testAccDataSourceMongoDBAtlasClustersConfig(projectID, name, backupEnabled
// Provider Settings "block"
provider_name = "AWS"
provider_disk_iops = 100
provider_encrypt_ebs_volume = false
provider_instance_size_name = "M10"
provider_region_name = "US_EAST_2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ func testAccDSMongoDBAtlasGlobalClusterConfig(projectID, name string) string {
// Provider Settings "block"
provider_name = "AWS"
provider_disk_iops = 240
provider_instance_size_name = "M30"
replication_specs {
Expand Down
1 change: 0 additions & 1 deletion mongodbatlas/data_source_mongodbatlas_ldap_verify_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ func testAccMongoDBAtlasDataSourceLDAPVerifyConfig(projectName, orgID, clusterNa
provider_region_name = "US_EAST_2"
provider_instance_size_name = "M10"
provider_backup_enabled = true //enable cloud provider snapshots
provider_disk_iops = 100
}
resource "mongodbatlas_ldap_verify" "test" {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,6 @@ func testAccMongoDBAtlasCloudProviderSnapshotBackupPolicyConfig(projectID, clust
provider_region_name = "EU_CENTRAL_1"
provider_instance_size_name = "M10"
provider_backup_enabled = true //enable cloud provider snapshots
provider_disk_iops = 100
provider_encrypt_ebs_volume = false
}
Expand Down Expand Up @@ -269,7 +268,6 @@ func testAccMongoDBAtlasCloudProviderSnapshotBackupPolicyConfigWithoutRestoreDay
provider_region_name = "EU_CENTRAL_1"
provider_instance_size_name = "M10"
provider_backup_enabled = true //enable cloud provider snapshots
provider_disk_iops = 100
provider_encrypt_ebs_volume = false
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,6 @@ func testAccMongoDBAtlasCloudProviderSnapshotRestoreJobConfigAutomated(projectID
provider_region_name = "US_EAST_1"
provider_instance_size_name = "M10"
provider_backup_enabled = true
provider_disk_iops = 100
provider_encrypt_ebs_volume = false
}
Expand Down Expand Up @@ -232,7 +231,6 @@ func testAccMongoDBAtlasCloudProviderSnapshotRestoreJobConfigDownload(projectID,
provider_region_name = "US_EAST_1"
provider_instance_size_name = "M10"
provider_backup_enabled = true // enable cloud provider snapshots
provider_disk_iops = 100
provider_encrypt_ebs_volume = false
}
Expand Down Expand Up @@ -267,7 +265,6 @@ func testAccMongoDBAtlasCloudProviderSnapshotRestoreJobConfigPointInTime(project
provider_region_name = "US_EAST_1"
provider_instance_size_name = "M10"
provider_backup_enabled = true
provider_disk_iops = 100
provider_encrypt_ebs_volume = false
}
Expand All @@ -281,7 +278,6 @@ func testAccMongoDBAtlasCloudProviderSnapshotRestoreJobConfigPointInTime(project
provider_region_name = "US_EAST_1"
provider_instance_size_name = "M10"
provider_backup_enabled = true // enable cloud provider snapshots
provider_disk_iops = 100
provider_encrypt_ebs_volume = false
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,6 @@ func testAccMongoDBAtlasCloudProviderSnapshotConfig(projectID, clusterName, desc
provider_region_name = "EU_CENTRAL_1"
provider_instance_size_name = "M10"
provider_backup_enabled = true //enable cloud provider snapshots
provider_disk_iops = 100
provider_encrypt_ebs_volume = false
}
Expand Down
10 changes: 0 additions & 10 deletions mongodbatlas/resource_mongodbatlas_cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -992,7 +992,6 @@ func testAccMongoDBAtlasClusterConfigAWS(projectID, name string, backupEnabled,
// Provider Settings "block"
provider_name = "AWS"
provider_disk_iops = 300
provider_instance_size_name = "M30"
provider_region_name = "EU_CENTRAL_1"
}
Expand All @@ -1013,7 +1012,6 @@ func testAccMongoDBAtlasClusterConfigAWSNVMEInstance(projectID, name, backupEnab
// Provider Settings "block"
provider_name = "AWS"
provider_disk_iops = 300
provider_encrypt_ebs_volume = false
provider_volume_type = "PROVISIONED"
provider_instance_size_name = "M40_NVME"
Expand All @@ -1035,7 +1033,6 @@ func testAccMongoDBAtlasClusterConfigAdvancedConf(projectID, name, autoscalingEn
// Provider Settings "block"
provider_name = "AWS"
provider_disk_iops = 100
provider_instance_size_name = "M10"
provider_region_name = "EU_CENTRAL_1"
Expand Down Expand Up @@ -1067,7 +1064,6 @@ func testAccMongoDBAtlasClusterConfigAdvancedConfPartial(projectID, name, autosc
// Provider Settings "block"
provider_name = "AWS"
provider_disk_iops = 100
provider_instance_size_name = "M10"
provider_region_name = "EU_CENTRAL_1"
Expand Down Expand Up @@ -1156,7 +1152,6 @@ func testAccMongoDBAtlasClusterConfigMultiRegion(projectID, name, backupEnabled
// Provider Settings "block"
provider_name = "AWS"
provider_disk_iops = 300
provider_instance_size_name = "M10"
replication_specs {
Expand Down Expand Up @@ -1198,7 +1193,6 @@ func testAccMongoDBAtlasClusterConfigGlobal(projectID, name, backupEnabled strin
// Provider Settings "block"
provider_name = "AWS"
provider_disk_iops = 240
provider_instance_size_name = "M30"
replication_specs {
Expand Down Expand Up @@ -1257,7 +1251,6 @@ func testAccMongoDBAtlasClusterConfigTenantUpdated(projectID, name string) strin
provider_instance_size_name = "M10"
disk_size_gb = 10
provider_disk_iops = 100
auto_scaling_disk_gb_enabled = true
}
`, projectID, name)
Expand Down Expand Up @@ -1287,7 +1280,6 @@ func testAccMongoDBAtlasClusterAWSConfigdWithLabels(projectID, name, backupEnabl
// Provider Settings "block"
provider_name = "AWS"
provider_disk_iops = 100
provider_encrypt_ebs_volume = false
provider_instance_size_name = "%s"
provider_region_name = "%s"
Expand Down Expand Up @@ -1335,7 +1327,6 @@ func testAccMongoDBAtlasClusterConfigWithPrivateEndpointLink(awsAccessKey, awsSe
provider_region_name = "${upper(replace("%[5]s", "-", "_"))}"
provider_instance_size_name = "M10"
provider_backup_enabled = true // enable cloud provider snapshots
provider_disk_iops = 100
provider_encrypt_ebs_volume = true
depends_on = ["mongodbatlas_privatelink_endpoint_service.test"]
}
Expand Down Expand Up @@ -1571,7 +1562,6 @@ func testAccMongoDBAtlasClusterConfigAWSWithAutoscaling(
//Provider Settings "block"
provider_name = "AWS"
provider_disk_iops = 300
provider_encrypt_ebs_volume = false
provider_instance_size_name = "%[8]s"
provider_region_name = "EU_CENTRAL_1"
Expand Down
1 change: 0 additions & 1 deletion mongodbatlas/resource_mongodbatlas_database_user_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -851,7 +851,6 @@ func testAccMongoDBAtlasDatabaseUserWithScopes(username, password, projectName,
provider_region_name = "US_EAST_2"
provider_instance_size_name = "M10"
provider_backup_enabled = true //enable cloud provider snapshots
provider_disk_iops = 100
provider_encrypt_ebs_volume = false
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,7 @@ func testAccMongoDBAtlasGlobalClusterConfig(projectID, name, backupEnabled strin
// Provider Settings "block"
provider_name = "AWS"
provider_disk_iops = 240
provider_instance_size_name = "M30"
provider_instance_size_name = "M30"
replication_specs {
zone_name = "Zone 1"
Expand Down Expand Up @@ -246,7 +245,6 @@ func testAccMongoDBAtlasGlobalClusterWithAWSClusterConfig(projectID, name, backu
// Provider Settings "block"
provider_name = "AWS"
provider_disk_iops = 300
provider_encrypt_ebs_volume = false
provider_instance_size_name = "M30"
provider_region_name = "US_EAST_1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,6 @@ func testAccMongoDBAtlasLDAPConfigurationWithVerifyConfig(projectName, orgID, cl
provider_region_name = "US_EAST_2"
provider_instance_size_name = "M10"
provider_backup_enabled = true //enable cloud provider snapshots
provider_disk_iops = 100
}
resource "mongodbatlas_ldap_verify" "test" {
Expand Down
2 changes: 0 additions & 2 deletions mongodbatlas/resource_mongodbatlas_ldap_verify_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,6 @@ func testAccMongoDBAtlasLDAPVerifyConfig(projectName, orgID, clusterName, hostna
provider_region_name = "US_EAST_2"
provider_instance_size_name = "M10"
provider_backup_enabled = true //enable cloud provider snapshots
provider_disk_iops = 100
provider_encrypt_ebs_volume = false
}
Expand Down Expand Up @@ -235,7 +234,6 @@ func testAccMongoDBAtlasLDAPVerifyWithConfigurationConfig(projectName, orgID, cl
provider_region_name = "US_EAST_2"
provider_instance_size_name = "M10"
provider_backup_enabled = true //enable cloud provider snapshots
provider_disk_iops = 100
}
resource "mongodbatlas_ldap_verify" "test" {
Expand Down

0 comments on commit 221ee96

Please sign in to comment.