FlexibleEngineCloud / terraform-provider-flexibleengine

Terraform flexibleengine provider
https://www.terraform.io/docs/providers/flexibleengine/
Mozilla Public License 2.0
30 stars 53 forks source link

feat(RDS): import RDS resource, unit test and document. #1058

Closed Zippo-Wang closed 9 months ago

Zippo-Wang commented 10 months ago

What this PR does / why we need it: import RDSresource, unit test and document.

Which issue this PR fixes: (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged) fixes #xxx

Special notes for your reviewer:

Release note:

PR Checklist

Acceptance Steps Performed

### resource_flexibleengine_rds_backup

=== RUN   TestAccBackup_mysql_basic
=== PAUSE TestAccBackup_mysql_basic
=== CONT  TestAccBackup_mysql_basic
--- PASS: TestAccBackup_mysql_basic (1185.01s)
PASS

coverage: 2.1% of statements in ../../../terraform-provider-flexibleengine/...

=== RUN   TestAccBackup_sqlserver_basic
=== PAUSE TestAccBackup_sqlserver_basic
=== CONT  TestAccBackup_sqlserver_basic
--- PASS: TestAccBackup_sqlserver_basic (1931.04s)
PASS

coverage: 1.9% of statements in ../../../terraform-provider-flexibleengine/...

=== RUN   TestAccBackup_pg_basic
=== PAUSE TestAccBackup_pg_basic
=== CONT  TestAccBackup_pg_basic
--- PASS: TestAccBackup_pg_basic (1034.23s)
PASS

coverage: 1.9% of statements in ../../../terraform-provider-flexibleengine/...
### data_source_flexibleengine_rds_backup

=== RUN   TestAccDatasourceBackup_basic
=== PAUSE TestAccDatasourceBackup_basic
=== CONT  TestAccDatasourceBackup_basic
--- PASS: TestAccDatasourceBackup_basic (1108.51s)
PASS

coverage: 1.9% of statements in ../../../terraform-provider-flexibleengine/...

=== RUN   TestAccDatasourceBackup_auto_basic
=== PAUSE TestAccDatasourceBackup_auto_basic
=== CONT  TestAccDatasourceBackup_auto_basic
--- PASS: TestAccDatasourceBackup_auto_basic (412.16s)
PASS

coverage: 1.9% of statements in ../../../terraform-provider-flexibleengine/...

=== RUN   TestAccDatasourceBackup_incremental_basic
=== PAUSE TestAccDatasourceBackup_incremental_basic
=== CONT  TestAccDatasourceBackup_incremental_basic
--- PASS: TestAccDatasourceBackup_incremental_basic (432.17s)
PASS

coverage: 1.7% of statements in ../../../terraform-provider-flexibleengine/...
### data_source_flexibleengine_engine_versions

=== RUN   TestAccRdsEngineVersionsV3DataSource_basic
=== PAUSE TestAccRdsEngineVersionsV3DataSource_basic
=== CONT  TestAccRdsEngineVersionsV3DataSource_basic
--- PASS: TestAccRdsEngineVersionsV3DataSource_basic (44.08s)
PASS

coverage: 1.7% of statements in ../../../terraform-provider-flexibleengine/...

=== RUN   TestAccRdsEngineVersionsV3DataSource_PostgreSQL_basic
=== PAUSE TestAccRdsEngineVersionsV3DataSource_PostgreSQL_basic
=== CONT  TestAccRdsEngineVersionsV3DataSource_PostgreSQL_basic
--- PASS: TestAccRdsEngineVersionsV3DataSource_PostgreSQL_basic (38.72s)
PASS
coverage: 1.7% of statements in ../../../terraform-provider-flexibleengine/...

=== RUN   TestAccRdsEngineVersionsV3DataSource_SQLServer_basic
=== PAUSE TestAccRdsEngineVersionsV3DataSource_SQLServer_basic
=== CONT  TestAccRdsEngineVersionsV3DataSource_SQLServer_basic
--- PASS: TestAccRdsEngineVersionsV3DataSource_SQLServer_basic (43.08s)
PASS

coverage: 1.7% of statements in ../../../terraform-provider-flexibleengine/...
### data_source_flexibleengine_storage_types

=== RUN   TestAccDatasourceStoragetype_basic
=== PAUSE TestAccDatasourceStoragetype_basic
=== CONT  TestAccDatasourceStoragetype_basic
--- PASS: TestAccDatasourceStoragetype_basic (41.38s)
PASS

coverage: 1.7% of statements in ../../../terraform-provider-flexibleengine/...

=== RUN   TestAccDatasourceStoragetype_PostgreSQL_basic
=== PAUSE TestAccDatasourceStoragetype_PostgreSQL_basic
=== CONT  TestAccDatasourceStoragetype_PostgreSQL_basic
--- PASS: TestAccDatasourceStoragetype_PostgreSQL_basic (35.54s)
PASS

coverage: 1.7% of statements in ../../../terraform-provider-flexibleengine/...

=== RUN   TestAccDatasourceStoragetype_SQLServer_basic
=== PAUSE TestAccDatasourceStoragetype_SQLServer_basic
=== CONT  TestAccDatasourceStoragetype_SQLServer_basic
--- PASS: TestAccDatasourceStoragetype_SQLServer_basic (36.72s)
PASS
coverage: 1.7% of statements in ../../../terraform-provider-flexibleengine/...
### data_source_flexibleengine_rds_instances
=== RUN   TestAccRdsInstanceDataSource_basic
=== PAUSE TestAccRdsInstanceDataSource_basic
=== CONT  TestAccRdsInstanceDataSource_basic
--- PASS: TestAccRdsInstanceDataSource_basic (1086.39s)
PASS

coverage: 1.9% of statements in ../../../terraform-provider-flexibleengine/...

=== RUN   TestAccRdsInstanceDataSource_ha_basic
=== PAUSE TestAccRdsInstanceDataSource_ha_basic
=== CONT  TestAccRdsInstanceDataSource_ha_basic
--- PASS: TestAccRdsInstanceDataSource_ha_basic (165.64s)
PASS

=== RUN   TestAccRdsInstanceDataSource_replica_basic
=== PAUSE TestAccRdsInstanceDataSource_replica_basic
=== CONT  TestAccRdsInstanceDataSource_replica_basic
--- PASS: TestAccRdsInstanceDataSource_replica_basic (294.93s)
PASS

=== RUN   TestAccRdsInstanceDataSource_enterprise_basic
=== PAUSE TestAccRdsInstanceDataSource_enterprise_basic
=== CONT  TestAccRdsInstanceDataSource_enterprise_basic
--- PASS: TestAccRdsInstanceDataSource_enterprise_basic (33.76s)
PASS
### resource_flexibleengine_rds_sql_audit
=== RUN   TestAccSQLAudit_basic
=== PAUSE TestAccSQLAudit_basic
=== CONT  TestAccSQLAudit_basic
--- PASS: TestAccSQLAudit_basic (1077.14s)
PASS

coverage: 1.9% of statements in ../../../terraform-provider-flexibleengine/...
### resource_flexibleengine_rds_cross_region_backup_strategy
=== RUN   TestAccBackupStrategy_basic
=== PAUSE TestAccBackupStrategy_basic
=== CONT  TestAccBackupStrategy_basic
--- PASS: TestAccBackupStrategy_basic (1027.76s)
PASS

coverage: 1.9% of statements in ../../../terraform-provider-flexibleengine/...
github-actions[bot] commented 10 months ago

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

github-actions[bot] commented 10 months ago

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

github-actions[bot] commented 10 months ago

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

github-actions[bot] commented 10 months ago

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

github-actions[bot] commented 10 months ago

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

github-actions[bot] commented 10 months ago

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

github-actions[bot] commented 10 months ago

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

github-actions[bot] commented 9 months ago

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

github-actions[bot] commented 9 months ago

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

github-actions[bot] commented 9 months ago

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

github-actions[bot] commented 9 months ago

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

github-actions[bot] commented 9 months ago

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

github-actions[bot] commented 9 months ago

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

github-actions[bot] commented 9 months ago

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

github-actions[bot] commented 9 months ago

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

github-actions[bot] commented 9 months ago

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.