1
+ ## Introduction
2
+
1
3
<!-- DOCS_DESCRIPTION_CN -->
2
4
本示例用于实现解决方案[ 自建 MongoDB 迁移到云数据库] ( https://www.aliyun.com/solution/tech-solution/migrate-self-managed-mongodb-to-cloud ) , 涉及到专有网络(VPC)、交换机(VSwitch)、云服务器(ECS)、云数据库(MongoDB) 等资源的创建。
3
5
<!-- DOCS_DESCRIPTION_CN -->
@@ -11,8 +13,8 @@ This example demonstrates the implementation of the solution [Migrate self-manag
11
13
12
14
| Name | Version |
13
15
| ------| ---------|
14
- | <a name =" provider_alicloud " ></a > [ alicloud] ( #provider\_ alicloud ) | 1.253.0 |
15
- | <a name =" provider_random " ></a > [ random] ( #provider\_ random ) | 3.7.2 |
16
+ | <a name =" provider_alicloud " ></a > [ alicloud] ( #provider\_ alicloud ) | n/a |
17
+ | <a name =" provider_random " ></a > [ random] ( #provider\_ random ) | n/a |
16
18
17
19
## Modules
18
20
@@ -44,9 +46,9 @@ No modules.
44
46
| ------| -------------| ------| ---------| :--------:|
45
47
| <a name =" input_db_name " ></a > [ db\_ name] ( #input\_ db\_ name ) | 请输入自建MongoDB数据库名称(由小写字母、数字及特殊字符 -\_ 组成,以小写字母开头,小写字母或数字结尾,最多64个字符)。 | ` string ` | ` "mongodb_transfer_test" ` | no |
46
48
| <a name =" input_db_password " ></a > [ db\_ password] ( #input\_ db\_ password ) | 请输入自建MongoDB数据库密码。密码长度为8-32位,需包含大写字母、小写字母、数字和特殊字符(如:!@#$%^&* ()\_ +-=)。 | ` string ` | n/a | yes |
47
- | <a name =" input_db_user_name " ></a > [ db\_ user\_ name] ( #input\_ db\_ user\_ name ) | 请输入自建MongoDB数据库账号(长度为2-16个字符,仅允许小写字母、大写字母、数字和下划线,必须以字母开头,以字母或数字结尾)。 | ` string ` | n/a | yes |
49
+ | <a name =" input_db_user_name " ></a > [ db\_ user\_ name] ( #input\_ db\_ user\_ name ) | 请输入自建MongoDB数据库账号(长度为2-16个字符,仅允许小写字母、大写字母、数字和下划线,必须以字母开头,以字母或数字结尾)。 | ` string ` | ` "mongouser" ` | no |
48
50
| <a name =" input_ecs_instance_password " ></a > [ ecs\_ instance\_ password] ( #input\_ ecs\_ instance\_ password ) | 请输入服务器登录密码。密码长度为8-30位,必须包含大写字母、小写字母、数字和特殊字符(如:!@#$%^&* \_ -+=\| {}[ ] :;'<>,.?/)。 | ` string ` | n/a | yes |
49
- | <a name =" input_mongodb_account_password " ></a > [ mongodb\_ account\_ password] ( #input\_ mongodb\_ account\_ password ) | 请输入MongoDB Root密码。密码长度为6-32位,需包含大写字母、小写字母、数字和特殊字符(如:!@#$%^&* ()\_ +-=)。 | ` string ` | n/a | yes |
50
51
| <a name =" input_mongodb_instance_class " ></a > [ mongodb\_ instance\_ class] ( #input\_ mongodb\_ instance\_ class ) | 请输入MongoDB实例规格(例如:mdb.shard.2x.xlarge.d)。根据您的数据库负载选择合适的规格。 | ` string ` | ` "mdb.shard.2x.xlarge.d" ` | no |
52
+ | <a name =" input_mongodb_password " ></a > [ mongodb\_ password] ( #input\_ mongodb\_ password ) | 请输入MongoDB Root密码。密码长度为6-32位,需包含大写字母、小写字母、数字和特殊字符(如:!@#$%^&* ()\_ +-=)。 | ` string ` | n/a | yes |
51
53
| <a name =" input_region_id " ></a > [ region\_ id] ( #input\_ region\_ id ) | 请输入地域ID(例如:cn-hangzhou)。 | ` string ` | ` "cn-hangzhou" ` | no |
52
54
<!-- END_TF_DOCS -->
0 commit comments