|
| 1 | +## Introduction |
| 2 | + |
| 3 | +<!-- DOCS_DESCRIPTION_CN --> |
| 4 | +本示例用于在阿里云查询RDS PostgreSQL实例的相关配置,涉及到专有网络VPC,交换机,RDS PostgreSQL实例的创建,与实例可用区资源,可购买的实例规格,实例地域信息,实例列表等资源的查询。 |
| 5 | +本示例来自[通过 Terraform 查询实例相关配置](http://help.aliyun.com/document_detail/456026.htm)。 |
| 6 | +<!-- DOCS_DESCRIPTION_CN --> |
| 7 | + |
| 8 | +<!-- DOCS_DESCRIPTION_EN --> |
| 9 | +This example is used to to query the configurations of an ApsaraDB RDS for PostgreSQL instance on Alibaba Cloud, which involves the creation of resources such as Virtual Private Cloud, virtual Switches,ApsaraDB RDS for PostgreSQL instance,and the query of instance resources such as instance zones resources, purchasable instance specifications, instance region information, instance lists, etc. |
| 10 | +This example is from [Query instance configurations](http://help.aliyun.com/document_detail/456026.htm). |
| 11 | +<!-- DOCS_DESCRIPTION_EN --> |
| 12 | + |
| 13 | +<!-- BEGIN_TF_DOCS --> |
| 14 | +## Providers |
| 15 | + |
| 16 | +| Name | Version | |
| 17 | +|------|---------| |
| 18 | +| <a name="provider_alicloud"></a> [alicloud](#provider\_alicloud) | n/a | |
| 19 | + |
| 20 | +## Modules |
| 21 | + |
| 22 | +No modules. |
| 23 | + |
| 24 | +## Resources |
| 25 | + |
| 26 | +| Name | Type | |
| 27 | +|------|------| |
| 28 | +| [alicloud_db_instance.instance](https://registry.terraform.io/providers/aliyun/alicloud/latest/docs/resources/db_instance) | resource | |
| 29 | +| [alicloud_vpc.main](https://registry.terraform.io/providers/aliyun/alicloud/latest/docs/resources/vpc) | resource | |
| 30 | +| [alicloud_vswitch.main](https://registry.terraform.io/providers/aliyun/alicloud/latest/docs/resources/vswitch) | resource | |
| 31 | +| [alicloud_db_instance_classes.queryclasses](https://registry.terraform.io/providers/aliyun/alicloud/latest/docs/data-sources/db_instance_classes) | data source | |
| 32 | +| [alicloud_db_instances.queryinstance](https://registry.terraform.io/providers/aliyun/alicloud/latest/docs/data-sources/db_instances) | data source | |
| 33 | +| [alicloud_db_instances.queryinstances](https://registry.terraform.io/providers/aliyun/alicloud/latest/docs/data-sources/db_instances) | data source | |
| 34 | +| [alicloud_db_zones.queryzones](https://registry.terraform.io/providers/aliyun/alicloud/latest/docs/data-sources/db_zones) | data source | |
| 35 | +| [alicloud_regions.query_regions](https://registry.terraform.io/providers/aliyun/alicloud/latest/docs/data-sources/regions) | data source | |
| 36 | + |
| 37 | +## Inputs |
| 38 | + |
| 39 | +| Name | Description | Type | Default | Required | |
| 40 | +|------|-------------|------|---------|:--------:| |
| 41 | +| <a name="input_instance_type"></a> [instance\_type](#input\_instance\_type) | n/a | `string` | `"pg.n2.2c.2m"` | no | |
| 42 | +| <a name="input_region"></a> [region](#input\_region) | n/a | `string` | `"cn-hangzhou"` | no | |
| 43 | +| <a name="input_zone_id"></a> [zone\_id](#input\_zone\_id) | n/a | `string` | `"cn-hangzhou-b"` | no | |
| 44 | +<!-- END_TF_DOCS --> |
| 45 | +## Documentation |
| 46 | +<!-- docs-link --> |
| 47 | + |
| 48 | +The template is based on Aliyun document: [Postgresql RDS query configurations](http://help.aliyun.com/document_detail/456026.htm) |
| 49 | + |
| 50 | +<!-- docs-link --> |
0 commit comments