File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed
Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 1+ provider "alicloud" {
2+ region = " cn-zhangjiakou"
3+ }
4+
15data "alicloud_resource_manager_resource_groups" "default" {
26}
37
@@ -6,12 +10,15 @@ data "alicloud_zones" "default" {
610}
711
812data "alicloud_images" "default" {
9- name_regex = " ^centos_6"
13+ most_recent = true
14+ instance_type = data. alicloud_instance_types . default . instance_types [0 ]. id
1015}
1116
1217data "alicloud_instance_types" "default" {
1318 availability_zone = data. alicloud_zones . default . zones [0 ]. id
14- instance_type_family = " ecs.c6"
19+ cpu_core_count = 2
20+ memory_size = 8
21+ instance_type_family = " ecs.g9i"
1522}
1623
1724data "alicloud_db_instance_classes" "default" {
@@ -53,14 +60,14 @@ module "example" {
5360
5461 # alicloud_instance
5562 instance_type = data. alicloud_instance_types . default . instance_types [0 ]. id
56- system_disk_category = " cloud_efficiency "
63+ system_disk_category = " cloud_essd "
5764 system_disk_name = var. system_disk_name
5865 system_disk_description = var. system_disk_description
5966 image_id = data. alicloud_images . default . images [0 ]. id
6067 internet_max_bandwidth_out = var. internet_max_bandwidth_out
6168 ecs_size = 1200
6269 data_disks_name = " data_disks_name"
63- category = " cloud_efficiency "
70+ category = " cloud_essd "
6471 description = " tf-ecs-rds-redis-description"
6572 encrypted = true
6673
You can’t perform that action at this time.
0 commit comments