This module provides the following RDS engines of AliCloud.
- MySQL
- MariaDB
- PostgreSQL
Notes:
- Provisioning takes almost 10-15 mins without any SQL initialization.
- Lockable initializing SQL may cost more time.
Name | Version |
---|---|
terraform | >= 1.0 |
Name | Version |
---|---|
alicloud | n/a |
byteset | n/a |
No modules.
Name | Type |
---|---|
alicloud_db_connection.rds | resource |
alicloud_db_database.default | resource |
alicloud_db_instance.rds | resource |
alicloud_rds_account.rds | resource |
alicloud_security_group.rds | resource |
alicloud_security_group_rule.allow_all_tcp | resource |
alicloud_vpc.rds | resource |
alicloud_vswitch.rds | resource |
byteset_pipeline.init_sql | resource |
alicloud_db_zones.rds | data source |
alicloud_vpcs.rds | data source |
alicloud_vswitches.rds | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
architecture | Select the RDS architecture, support from 'Standalone' and 'Replication', 'MariaDB' engine doesn't support 'Standalone'. | string |
n/a | yes |
database | Specify the database name to initialize after launching. | string |
"rdsdb" |
no |
engine | Select the RDS engine, support serval kinds of 'MySQL', 'MariaDB' and 'PostgreSQL'. | string |
n/a | yes |
init_sql_url | Specify the init SQL download URL to initialize after launching. | string |
"" |
no |
instance_type | Specify the instance type to deploy the RDS engine, pick at least 2C4G type automatically if empty. | string |
"" |
no |
password | Specify the root password to initialize after launching. | string |
n/a | yes |
publicly_accessible | Specify to allow publicly accessing. | bool |
false |
no |
storage_type | Specify the storage type to deploy the RDS engine, pick at least ESSD PL1 if empty. | string |
"" |
no |
username | Specify the root username to initialize after launching, do not allow 'root' and 'sa'. | string |
"rdsusr" |
no |
vpc_id | Specify the existing VPC ID to deploy, create a new one if empty. | string |
"" |
no |
walrus_metadata_environment_name | Walrus metadata environment name. | string |
"" |
no |
walrus_metadata_project_name | Walrus metadata project name. | string |
"" |
no |
walrus_metadata_service_name | Walrus metadata service name. | string |
"" |
no |
Name | Description |
---|---|
db_driver | n/a |
db_endpoint | n/a |
db_endpoint_replica | n/a |
db_host | n/a |
db_host_replica | n/a |
db_name | n/a |
db_password | n/a |
db_port | n/a |
db_username | n/a |