sakuracloud_enhanced_db
Manages a SakuraCloud sakuracloud_enhanced_db.
Example Usage
resource "sakuracloud_enhanced_db" "foobar" {
name = "example"
database_name = "example"
password = "your-password"
description = "..."
tags = ["...", "..."]
}
Argument Reference
name
- (Required) リソース名database_name
- (Required) データベース名password
- (Required) パスワードicon_id
- (Optional) The icon id to attach to the Enhanced Database.description
- (Optional) The description of the Enhanced Database. The length of this value must be in the range[1
-512
].tags
- (Optional) Any tags to assign to the Enhanced Database.
Timeouts
The timeouts
block allows you to specify timeouts for certain actions:
create
- (Defaults to 5 minutes) Used when creating the sakuracloud_enhanced_dbupdate
- (Defaults to 5 minutes) Used when updating the sakuracloud_enhanced_dbdelete
- (Defaults to 5 minutes) Used when deleting sakuracloud_enhanced_db
Attribute Reference
id
- The id of the sakuracloud_enhanced_db.database_type
- The type of database.hostname
- The name of database host. This will be built fromdatabase_name
+tidb-is1.db.sakurausercontent.com
.max_connections
- The value of max connections setting.region
- The region name.