github.com/candidpartners/terraform@v0.9.5-0.20171005231213-29f5f88820f6/examples/alicloud-rds/main.tf (about) 1 2 resource "alicloud_db_instance" "dc" { 3 engine = "${var.engine}" 4 engine_version = "${var.engine_version}" 5 db_instance_class = "${var.instance_class}" 6 db_instance_storage = "${var.storage}" 7 db_instance_net_type = "${var.net_type}" 8 9 master_user_name = "${var.user_name}" 10 master_user_password = "${var.password}" 11 12 db_mappings = [{ 13 db_name = "${var.database_name}" 14 character_set_name = "${var.database_character}" 15 db_description = "tf" 16 }] 17 }