We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2de4309 commit 4e478dcCopy full SHA for 4e478dc
examples/complete/main.tf
@@ -1,3 +1,7 @@
1
+provider "alicloud" {
2
+ region = "cn-zhangjiakou"
3
+}
4
+
5
data "alicloud_resource_manager_resource_groups" "default" {
6
}
7
@@ -6,12 +10,15 @@ data "alicloud_zones" "default" {
10
11
8
12
data "alicloud_images" "default" {
9
- name_regex = "^centos_6"
13
+ most_recent = true
14
+ instance_type = data.alicloud_instance_types.default.instance_types[0].id
15
16
17
data "alicloud_instance_types" "default" {
18
availability_zone = data.alicloud_zones.default.zones[0].id
- instance_type_family = "ecs.c6"
19
+ cpu_core_count = 2
20
+ memory_size = 8
21
+ instance_type_family = "ecs.g9i"
22
23
24
data "alicloud_db_instance_classes" "default" {
0 commit comments