File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 1- ## 1.3.0 (Unreleased)
21## 1.2.1 (March 14, 2025)
32
43- examples/complete: improve the examples [ GH-7 ] ( https://github.com/alibabacloud-automation/terraform-alicloud-dnat/pull/7 )
Original file line number Diff line number Diff line change 1+ provider "alicloud" {
2+ region = " ap-southeast-5"
3+ }
4+
15data "alicloud_zones" "default" {
26}
37
48data "alicloud_images" "default" {
5- name_regex = " ubuntu_18"
9+ instance_type = data. alicloud_instance_types . default . instance_types [0 ]. id
10+ owners = " system"
11+ most_recent = true
612}
713
814data "alicloud_instance_types" "default" {
915 availability_zone = data. alicloud_zones . default . zones [0 ]. id
1016 cpu_core_count = 2
1117 memory_size = 8
12- instance_type_family = " ecs.g6 "
18+ instance_type_family = " ecs.g9i "
1319}
1420
1521module "vpc" {
@@ -40,7 +46,7 @@ module "ecs-instance" {
4046 vswitch_ids = [module . vpc . this_vswitch_ids [0 ]]
4147 security_group_ids = [module . security_group . this_security_group_id ]
4248 associate_public_ip_address = false
43- system_disk_category = " cloud_ssd "
49+ system_disk_category = " cloud_essd "
4450 system_disk_size = var. system_disk_size
4551}
4652
You can’t perform that action at this time.
0 commit comments